This commit is contained in:
parent
27424711c4
commit
f475d37251
2 changed files with 3 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Read values from version.txt
|
# Read values from version.txt
|
||||||
APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | cut -d '=' -f 2)
|
APPLICATION_ID=$(grep '^APPLICATION_ID=' version.txt | cut -d '=' -f 2)
|
||||||
VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | cut -d '=' -f 2)
|
VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | cut -d '=v' -f 2)
|
||||||
VERSION_CODE=$(grep '^VERSION_CODE=' version.txt | cut -d '=' -f 2)
|
VERSION_CODE=$(grep '^VERSION_CODE=' version.txt | cut -d '=' -f 2)
|
||||||
TAG=$(cat release.txt) # Read the tag from release.txt
|
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')
|
RELEASE_NOTES=$(curl -s "https://api.github.com/repos/jellyfin/jellyfin-androidtv/releases/tags/$TAG" | jq -r '.body')
|
||||||
|
@ -185,7 +185,7 @@ jobs:
|
||||||
url: https://git.askar.tv
|
url: https://git.askar.tv
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
tag: "${{ env.VERSION_NAME }}"
|
tag: "${{ env.VERSION_NAME }}"
|
||||||
title: "AlaskarTV-${{ env.VERSION_NAME }}-${{ env.VERSION_CODE }}"
|
title: "AlaskarTV-v${{ env.VERSION_NAME }}-${{ env.VERSION_CODE }}"
|
||||||
release-notes: "${{ env.RELEASE_NOTES }}"
|
release-notes: "${{ env.RELEASE_NOTES }}"
|
||||||
release-dir: ./release-assets
|
release-dir: ./release-assets
|
||||||
direction: upload
|
direction: upload
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
v0.18.3
|
v0.18.3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue