fix: again
This commit is contained in:
@@ -23,6 +23,11 @@ jobs:
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Set version from tag
|
||||
id: vars
|
||||
run: |
|
||||
@@ -31,27 +36,24 @@ jobs:
|
||||
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
|
||||
echo "TAG=$TAG" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Install JPRM
|
||||
run: pip install jprm
|
||||
|
||||
- name: Build plugin
|
||||
- name: Build plugin with JPRM
|
||||
run: |
|
||||
dotnet publish Jellyfin.Plugin.SmartNotify/Jellyfin.Plugin.SmartNotify.csproj \
|
||||
--configuration Release \
|
||||
--output ./publish \
|
||||
-p:Version=${VERSION}.0
|
||||
jprm --verbosity=debug plugin build Jellyfin.Plugin.SmartNotify \
|
||||
--dotnet-framework="net9.0" \
|
||||
--version="${VERSION}.0" \
|
||||
--output=./artifacts
|
||||
|
||||
- name: Create plugin ZIP
|
||||
- name: Prepare artifact
|
||||
run: |
|
||||
# Only include plugin DLL and actual dependencies (not Jellyfin framework DLLs)
|
||||
cd publish
|
||||
zip ../smartnotify_${VERSION}.zip \
|
||||
Jellyfin.Plugin.SmartNotify.dll \
|
||||
LiteDB.dll
|
||||
cd ..
|
||||
# Find the ZIP that JPRM created
|
||||
ARTIFACT=$(ls artifacts/*.zip | head -1)
|
||||
cp "$ARTIFACT" "smartnotify_${VERSION}.zip"
|
||||
|
||||
# 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"
|
||||
|
||||
|
||||
@@ -13,14 +13,16 @@
|
||||
<AnalysisMode>Default</AnalysisMode>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Jellyfin 10.11 references -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Jellyfin.Controller" Version="10.11.*" />
|
||||
<PackageReference Include="Jellyfin.Model" Version="10.11.*" />
|
||||
<PackageReference Include="Jellyfin.Controller" 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" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Embedded Resources -->
|
||||
<ItemGroup>
|
||||
<None Remove="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