From 663e8da456545e64389ca9c3c8308c18ed92562d Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Mon, 6 Jan 2025 01:07:07 +0300 Subject: [PATCH] testing --- .github/workflows/main.yml | 12 +++++++++--- release.txt | 1 - 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7c9c2f9..70649e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,14 +33,11 @@ jobs: APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | awk -F 'APPLICATION_ID=' '{print $2}') VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | awk -F 'VERSION_NAME=v' '{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') # 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: | @@ -179,6 +176,15 @@ jobs: env: VERSION_NAME: ${{ env.VERSION_NAME }} VERSION_CODE: ${{ env.VERSION_CODE }} + + + - name: release-notes + run: | + TAG=$(cat release.txt) + RELEASE_NOTES=$(curl -s "https://api.github.com/repos/jellyfin/jellyfin-androidtv/releases/tags/$TAG" | jq -r '.body') + + echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV + - name: Create Release and Upload Assets uses: actions/forgejo-release@v2 diff --git a/release.txt b/release.txt index c96e646..2b91414 100644 --- a/release.txt +++ b/release.txt @@ -1,2 +1 @@ v0.18.3 -