diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 142a756..5c96c18 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,9 +30,9 @@ jobs: id: parse_version run: | # Read values from version.txt - APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | cut -d '=' -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) + APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | awk -F 'APPLICATION_ID=' '{print $2}') + VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | awk -F 'VERSION_NAME=' '{print $2}') + VERSION_CODE=$(grep '^VERSION_CODE=' version.txt | awk -F 'VERSION_CODE=' '{print $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 2b91414..c96e646 100644 --- a/release.txt +++ b/release.txt @@ -1 +1,2 @@ v0.18.3 + diff --git a/version.txt b/version.txt index 403377d..29dfc59 100644 --- a/version.txt +++ b/version.txt @@ -1,3 +1,3 @@ APPLICATION_ID=org.askartv.tv -VERSION_NAME=v0.2.9 +VERSION_NAME=0.2.9 VERSION_CODE=15