Compare commits

..

No commits in common. "989acd1501eb91cb6856a072e38fb394bdf75afd" and "820032240aa7e9d09e45b558eaee5bed77181227" have entirely different histories.

2 changed files with 5 additions and 12 deletions

View file

@ -1,6 +1,6 @@
# Jellyfin SmartPlaylist Plugin # Jellyfin SmartPlaylist Plugin
Smart playlists with Lisp filter engine. Smart playlists with lisp filter engine.
## How to use ## How to use

View file

@ -7,17 +7,10 @@ VERSION=$(sed -n '/^version:/ s/^version: *//p' "${PLUGIN}/build.yaml")
ARTIFACT_DIR=artifacts ARTIFACT_DIR=artifacts
REPO_URL="https://gitea.redxef.at/redxef/jellyfin-smart-playlist/releases/download/v${VERSION}/jellyfin-smart-playlist_${VERSION}.dll" REPO_URL="https://gitea.redxef.at/redxef/jellyfin-smart-playlist/releases/download/v${VERSION}/jellyfin-smart-playlist_${VERSION}.dll"
build() {
mkdir -p "${ARTIFACT_DIR}" mkdir -p "${ARTIFACT_DIR}"
find "${PLUGIN}" -name project.assets.json -exec rm -v '{}' ';' find "${PLUGIN}" -name project.assets.json -exec rm -v '{}' ';'
zipfile=$($JPRM --verbosity=debug plugin build "${PLUGIN}" --output="${ARTIFACT_DIR}" --version="${VERSION}") && { zipfile=$($JPRM --verbosity=debug plugin build "${PLUGIN}" --output="${ARTIFACT_DIR}" --version="${VERSION}") && {
$JPRM --verbosity=debug repo add --plugin-url="${REPO_URL}" . "${zipfile}" $JPRM --verbosity=debug repo add --plugin-url="${REPO_URL}" . "${zipfile}"
} }
}
version() {
echo "$VERSION"
}
"$@"
exit $? exit $?