version 10.8.9.2

This commit is contained in:
Sergey Krashevich committed 2023-02-08 19:42:11 +03:00
1 parent 81511e6bd8
commit 13b3e0fe79
4 files changed
+13 -5

No files matched your search

+3 -4
View File
@@ -1,5 +1,5 @@
#!/bin/bash
VERSION="10.8.9.1"
VERSION="10.8.9.2"
CHANGELOG="Fix bugs. Update version to correspnding JellyFin. Bump deps."
brew link --overwrite dotnet@6
@@ -11,9 +11,8 @@ gsed -i'' "s/version: .*/version: \"$VERSION\"/" src/Jellyfin.Plugin.Kinopoisk/b
BUILDYAML=`head -$(grep -n "changelog: >" src/Jellyfin.Plugin.Kinopoisk/build.yaml | head -1 | cut -d: -f1) src/Jellyfin.Plugin.Kinopoisk/build.yaml`
echo -e "$BUILDYAML\n $CHANGELOG" > src/Jellyfin.Plugin.Kinopoisk/build.yaml
docker run -it --rm --network host -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet restore ./src
docker run -it --rm --network host -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet build --configuration Release ./src
docker run --rm --network host -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet restore ./src/Jellyfin.Plugin.Kinopoisk/
docker run --rm --network host -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet build --configuration Release ./src/Jellyfin.Plugin.Kinopoisk/ -r linux-x64 --no-self-contained
RELEASEDIR="$(pwd)/dist/kinopoisk/kinopoisk_$VERSION"
rm -rf "$RELEASEDIR" "$RELEASEDIR.zip"