testing
Some checks failed
Build Latest / AlaskarTV (push) Failing after 58s

This commit is contained in:
nomadics9 2025-01-06 01:02:38 +03:00
parent e588e0bf67
commit f3172fc633
2 changed files with 4 additions and 2 deletions

View file

@ -31,7 +31,7 @@ jobs:
run: |
# Read values from version.txt
APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | awk -F 'APPLICATION_ID=' '{print $2}')
VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | awk -F 'VERSION_NAME=' '{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')
@ -64,7 +64,7 @@ jobs:
sed -i 's/applicationId = namespace/applicationId = "'"$APPLICATION_ID"'"/' app-release/app/build.gradle.kts
sed -i 's/versionName = .*/versionName = "'"$VERSION_NAME"'"/' app-release/app/build.gradle.kts
sed -i "s/versionCode = .*/versionCode = $VERSION_CODE/" app-release/app/build.gradle.kts
sed -i "s/setProperty(\"archivesBaseName\", \".*\")/setProperty(\"archivesBaseName\", \"alaskartv-androidtv-v0.2.9\")/" app-release/app/build.gradle.kts
sed -i "s/setProperty(\"archivesBaseName\", \".*\")/setProperty(\"archivesBaseName\", \"alaskartv-androidtv-v$VERSION_NAME\")/" app-release/app/build.gradle.kts
- name: Update about.kt
run: |
@ -119,6 +119,7 @@ jobs:
- name: Build APK
run: |
cd app-release
./gradlew clean
./gradlew assembleRelease
- name: Build AAB

View file

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