fix: again
This commit is contained in:
@@ -23,6 +23,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: '9.0.x'
|
dotnet-version: '9.0.x'
|
||||||
|
|
||||||
|
- name: Setup Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Set version from tag
|
- name: Set version from tag
|
||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
@@ -31,27 +36,24 @@ jobs:
|
|||||||
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
|
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
|
||||||
echo "TAG=$TAG" >> "$GITHUB_ENV"
|
echo "TAG=$TAG" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Install JPRM
|
||||||
run: dotnet restore
|
run: pip install jprm
|
||||||
|
|
||||||
- name: Build plugin
|
- name: Build plugin with JPRM
|
||||||
run: |
|
run: |
|
||||||
dotnet publish Jellyfin.Plugin.SmartNotify/Jellyfin.Plugin.SmartNotify.csproj \
|
jprm --verbosity=debug plugin build Jellyfin.Plugin.SmartNotify \
|
||||||
--configuration Release \
|
--dotnet-framework="net9.0" \
|
||||||
--output ./publish \
|
--version="${VERSION}.0" \
|
||||||
-p:Version=${VERSION}.0
|
--output=./artifacts
|
||||||
|
|
||||||
- name: Create plugin ZIP
|
- name: Prepare artifact
|
||||||
run: |
|
run: |
|
||||||
# Only include plugin DLL and actual dependencies (not Jellyfin framework DLLs)
|
# Find the ZIP that JPRM created
|
||||||
cd publish
|
ARTIFACT=$(ls artifacts/*.zip | head -1)
|
||||||
zip ../smartnotify_${VERSION}.zip \
|
cp "$ARTIFACT" "smartnotify_${VERSION}.zip"
|
||||||
Jellyfin.Plugin.SmartNotify.dll \
|
|
||||||
LiteDB.dll
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# Calculate MD5 checksum
|
# Calculate MD5 checksum
|
||||||
CHECKSUM=$(md5sum smartnotify_${VERSION}.zip | cut -d' ' -f1)
|
CHECKSUM=$(md5sum "smartnotify_${VERSION}.zip" | cut -d' ' -f1)
|
||||||
echo "CHECKSUM=$CHECKSUM" >> "$GITHUB_ENV"
|
echo "CHECKSUM=$CHECKSUM" >> "$GITHUB_ENV"
|
||||||
echo "Checksum: $CHECKSUM"
|
echo "Checksum: $CHECKSUM"
|
||||||
|
|
||||||
|
|||||||
@@ -13,14 +13,16 @@
|
|||||||
<AnalysisMode>Default</AnalysisMode>
|
<AnalysisMode>Default</AnalysisMode>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Jellyfin 10.11 references -->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Jellyfin.Controller" Version="10.11.*" />
|
<PackageReference Include="Jellyfin.Controller" Version="10.11.*">
|
||||||
<PackageReference Include="Jellyfin.Model" Version="10.11.*" />
|
<ExcludeAssets>runtime</ExcludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="Jellyfin.Model" Version="10.11.*">
|
||||||
|
<ExcludeAssets>runtime</ExcludeAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="LiteDB" Version="5.0.21" />
|
<PackageReference Include="LiteDB" Version="5.0.21" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Embedded Resources -->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Remove="Configuration\configPage.html" />
|
<None Remove="Configuration\configPage.html" />
|
||||||
<EmbeddedResource Include="Configuration\configPage.html" />
|
<EmbeddedResource Include="Configuration\configPage.html" />
|
||||||
|
|||||||
14
build.yaml
Normal file
14
build.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
name: "SmartNotify"
|
||||||
|
guid: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
|
||||||
|
targetAbi: "10.11.0.0"
|
||||||
|
framework: "net9.0"
|
||||||
|
overview: "Intelligent Discord notifications for new media"
|
||||||
|
description: >
|
||||||
|
Smart Discord notifications that detect quality upgrades vs truly new content.
|
||||||
|
Groups episodes intelligently (e.g., 'Episode 1-12 added').
|
||||||
|
category: "Notifications"
|
||||||
|
owner: "TDPI"
|
||||||
|
artifacts:
|
||||||
|
- "Jellyfin.Plugin.SmartNotify.dll"
|
||||||
|
- "LiteDB.dll"
|
||||||
|
changelog: ""
|
||||||
Reference in New Issue
Block a user