From 50f96e026da5d5503480f3ce8cf8d445260abd15 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Sun, 5 Jan 2025 17:33:14 +0300 Subject: [PATCH] testing --- .github/workflows/main.yml | 6 ++++-- release.txt | 2 +- version.txt | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7390cb3..9a6405d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,11 +33,14 @@ jobs: APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | cut -d '=' -f 2) VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | cut -d '=' -f 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') # Export values as environment variables echo "APPLICATION_ID=$APPLICATION_ID" >> $GITHUB_ENV echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV echo "VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV + echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV - name: Replace Assets run: | @@ -172,8 +175,7 @@ jobs: mv ${{ steps.sign_apk.outputs.signedFiles }} ./release-assets/AlaskarTV-${{ env.VERSION_NAME }}-signed.apk mv ${{ steps.sign_aab.outputs.signedFiles }} ./release-assets/AlaskarTV-${{ env.VERSION_NAME }}-signed.aab zip -r ./release-assets/debug-symbols.zip app-release/app/build/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib/*/ - - # cp whatsnew.txt ./release-assets/release-notes.txt + echo "${{ env.RELEASE_NOTES }}" > ./release-assets/release-notes.txt env: VERSION_NAME: ${{ env.VERSION_NAME }} VERSION_CODE: ${{ env.VERSION_CODE }} diff --git a/release.txt b/release.txt index 2b91414..e96ef5a 100644 --- a/release.txt +++ b/release.txt @@ -1 +1 @@ -v0.18.3 +v0.18.3 diff --git a/version.txt b/version.txt index 9b56afa..403377d 100644 --- a/version.txt +++ b/version.txt @@ -1,3 +1,3 @@ APPLICATION_ID=org.askartv.tv -VERSION_NAME=v0.3.0 -VERSION_CODE=16 +VERSION_NAME=v0.2.9 +VERSION_CODE=15