diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f27af70..142a756 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: run: | # Read values from version.txt APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | cut -d '=' -f 2) - VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | cut -d '=v' -f 2) + VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | awk -F '=v' '{print $2}') VERSION_CODE=$(grep '^VERSION_CODE=' version.txt | cut -d '=' -f 2) TAG=$(cat release.txt) # Read the tag from release.txt RELEASE_NOTES=$(curl -s "https://api.github.com/repos/jellyfin/jellyfin-androidtv/releases/tags/$TAG" | jq -r '.body') diff --git a/release.txt b/release.txt index c96e646..2b91414 100644 --- a/release.txt +++ b/release.txt @@ -1,2 +1 @@ v0.18.3 -