version 10.8.9.1

This commit is contained in:
Sergey Krashevich committed 2023-02-08 19:10:12 +03:00
1 parent 29db7e5909
commit 81511e6bd8
3 files changed
+16 -8

No files matched your search

Binary file not shown.
+9
View File
@@ -8,6 +8,15 @@
"description": "Загружает рейтинг, описания, актёров, трейлеры и т.д. с сайта КиноПоиск. Может потребоваться зарегистрировать свой ApiToken, см. информацию в параметрах плагина. Для точного распознавания рекомендуется указывать id фильма с сайта КиноПоиск в имени файла в формате kp-12345 или kp12345. Подробнее см. https://github.com/LinFor/jellyfin-plugin-kinopoisk/blob/master/README.md\n",
"imageUrl": "https://kinopoisk.userecho.com/s/attachments/28876/0/1/25f8c0315e6ccb2aa6c2642e48f2c9e9.png",
"versions": [
{
"version": "10.8.9.1",
"checksum": "d15934ff981be4d7df861cd35a862971",
"changelog": "new release",
"name": "КиноПоиск",
"targetAbi": "10.8.8.0",
"sourceUrl": "https://raw.githubusercontent.com/skrashevich/jellyfin-plugin-kinopoisk/master/dist/kinopoisk/kinopoisk_10.8.9.1.zip",
"timestamp": "2023-02-08T16:10:12Z"
},
{
"version": "10.8.9.1",
"checksum": "3790c3375057977320a77fe004f7c17f",
+7 -8
View File
@@ -5,16 +5,15 @@ CHANGELOG="Fix bugs. Update version to correspnding JellyFin. Bump deps."
brew link --overwrite dotnet@6
export PATH="/usr/local/opt/dotnet@6/bin:$PATH"
find . -name project.assets.json -delete
gsed -i'' "s/version: .*/version: \"$VERSION\"/" src/Jellyfin.Plugin.Kinopoisk/build.yaml
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 restore ./src
#docker run -it --rm --network host -v $(pwd):/src -w /src bitnami/dotnet-sdk:6
dotnet build --configuration Release ./src
docker run -it --rm --network host -v $(pwd):/src -w /src bitnami/dotnet-sdk:6 dotnet build --configuration Release ./src
RELEASEDIR="$(pwd)/dist/kinopoisk/kinopoisk_$VERSION"
rm -rf "$RELEASEDIR" "$RELEASEDIR.zip"
@@ -31,7 +30,7 @@ cat << EOF > "dist/kinopoisk/kinopoisk_$VERSION/meta.json"
"name": "\u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a",
"overview": "\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0444\u0438\u043b\u044c\u043c\u0430\u0445 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0430\u0445 \u0441 \u041a\u0438\u043d\u043e\u041f\u043e\u0438\u0441\u043a\u0430",
"owner": "svk",
"targetAbi": "10.8.8.0",
"targetAbi": "10.8.0",
"timestamp": "$(date -u "+%Y-%m-%dT%H:%M:%SZ")",
"version": "$VERSION"
}
@@ -51,5 +50,5 @@ jq --arg HASH "$HASH" --arg URL "https://raw.githubusercontent.com/skrashevich/j
rm -rf ./artifacts/*
git add "$RELEASEDIR.zip" "dist/manifest.json" "publish.sh" "src/Jellyfin.Plugin.Kinopoisk/build.yaml" && \
git commit -m "version $VERSION" && \
git tag "v$VERSION" #&& \
#git push && git push --tags
git tag -f "v$VERSION" #&& \
git push --force && git push --tags --force