This commit is contained in:
parent
8eecddd61c
commit
8909ee03fc
2 changed files with 13 additions and 9 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -181,6 +181,7 @@ jobs:
|
||||||
id: fetch-release-notes
|
id: fetch-release-notes
|
||||||
run: |
|
run: |
|
||||||
TAG=$(cat release.txt)
|
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')
|
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
|
if [ -z "$RELEASE_NOTES" ] || [ "$RELEASE_NOTES" == "null" ]; then
|
||||||
|
@ -188,8 +189,12 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "release_notes=$RELEASE_NOTES" >> $GITHUB_ENV
|
echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV
|
||||||
shell: bash
|
|
||||||
|
- name: Debug Release Notes
|
||||||
|
run: |
|
||||||
|
echo "Fetched Release Notes:"
|
||||||
|
echo "${{ env.RELEASE_NOTES }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Create Release and Upload Assets
|
- name: Create Release and Upload Assets
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
v0.18.3
|
v0.18.3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue