From 8909ee03fc73edc3c57f083c3163124185e793c1 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Mon, 6 Jan 2025 01:33:00 +0300 Subject: [PATCH] testing --- .github/workflows/main.yml | 21 +++++++++++++-------- release.txt | 1 - 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20aa2b5..acbaefe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -180,16 +180,21 @@ jobs: - name: Fetch Release Notes id: fetch-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') + TAG=$(cat release.txt) + echo "Fetching release notes for tag: $TAG" + RELEASE_NOTES=$(curl -s "https://api.github.com/repos/jellyfin/jellyfin-androidtv/releases/tags/$TAG" | jq -r '.body') - if [ -z "$RELEASE_NOTES" ] || [ "$RELEASE_NOTES" == "null" ]; then - echo "Error: Release notes not found for tag $TAG." - exit 1 - fi + if [ -z "$RELEASE_NOTES" ] || [ "$RELEASE_NOTES" == "null" ]; then + echo "Error: Release notes not found for tag $TAG." + exit 1 + fi - echo "release_notes=$RELEASE_NOTES" >> $GITHUB_ENV - shell: bash + echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV + + - name: Debug Release Notes + run: | + echo "Fetched Release Notes:" + echo "${{ env.RELEASE_NOTES }}" - name: Create Release and Upload Assets diff --git a/release.txt b/release.txt index c96e646..2b91414 100644 --- a/release.txt +++ b/release.txt @@ -1,2 +1 @@ v0.18.3 -