This commit is contained in:
parent
663e8da456
commit
8eecddd61c
2 changed files with 12 additions and 5 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -116,7 +116,6 @@ jobs:
|
|||
- name: Build APK
|
||||
run: |
|
||||
cd app-release
|
||||
./gradlew clean
|
||||
./gradlew assembleRelease
|
||||
|
||||
- name: Build AAB
|
||||
|
@ -178,12 +177,19 @@ jobs:
|
|||
VERSION_CODE: ${{ env.VERSION_CODE }}
|
||||
|
||||
|
||||
- name: release-notes
|
||||
- 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')
|
||||
|
||||
echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV
|
||||
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
|
||||
|
||||
|
||||
- name: Create Release and Upload Assets
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
v0.18.3
|
||||
|
||||
|
|
Loading…
Reference in a new issue