From 820032240aa7e9d09e45b558eaee5bed77181227 Mon Sep 17 00:00:00 2001 From: redxef Date: Mon, 28 Oct 2024 02:01:46 +0100 Subject: [PATCH] ci: make release script work with busybox. --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 9f188fe..ad756cd 100755 --- a/release.sh +++ b/release.sh @@ -3,7 +3,7 @@ JPRM="jprm" PLUGIN=Jellyfin.Plugin.SmartPlaylist -VERSION=$(grep -Po '^ *version: * "*\K[^"$]+' "${PLUGIN}/build.yaml") +VERSION=$(sed -n '/^version:/ s/^version: *//p' "${PLUGIN}/build.yaml") ARTIFACT_DIR=artifacts REPO_URL="https://gitea.redxef.at/redxef/jellyfin-smart-playlist/releases/download/v${VERSION}/jellyfin-smart-playlist_${VERSION}.dll"