testing
Some checks failed
Build Latest / AlaskarTV (push) Failing after 3m17s

This commit is contained in:
nomadics9 2025-01-06 01:07:07 +03:00
parent f3172fc633
commit 663e8da456
2 changed files with 9 additions and 4 deletions

View file

@ -33,14 +33,11 @@ jobs:
APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | awk -F 'APPLICATION_ID=' '{print $2}') 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_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}') 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 # Export values as environment variables
echo "APPLICATION_ID=$APPLICATION_ID" >> $GITHUB_ENV echo "APPLICATION_ID=$APPLICATION_ID" >> $GITHUB_ENV
echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
echo "VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV echo "VERSION_CODE=$VERSION_CODE" >> $GITHUB_ENV
echo "RELEASE_NOTES=$RELEASE_NOTES" >> $GITHUB_ENV
- name: Replace Assets - name: Replace Assets
run: | run: |
@ -179,6 +176,15 @@ jobs:
env: env:
VERSION_NAME: ${{ env.VERSION_NAME }} VERSION_NAME: ${{ env.VERSION_NAME }}
VERSION_CODE: ${{ env.VERSION_CODE }} 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 - name: Create Release and Upload Assets
uses: actions/forgejo-release@v2 uses: actions/forgejo-release@v2

View file

@ -1,2 +1 @@
v0.18.3 v0.18.3