„.gitea/workflows/build.yml“ ändern
All checks were successful
Export Game Job

This commit is contained in:
Snoweuph 2023-04-05 14:16:42 +00:00
parent 3334b7734c
commit c52f6357be

View file

@ -40,6 +40,7 @@ jobs:
run: | run: |
echo "Getting last Release Tag" echo "Getting last Release Tag"
VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?pre-release=true&page=1&limit=1' -H 'accept: application/json') VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?pre-release=true&page=1&limit=1' -H 'accept: application/json')
echo $VERSION | jq -r '.[0].tag_name'
VERSION=$(echo $VERSION | jq -r '.[0].tag_name' | awk -F. -v OFS=. '{$NF += 1 ; print}') VERSION=$(echo $VERSION | jq -r '.[0].tag_name' | awk -F. -v OFS=. '{$NF += 1 ; print}')
echo "Generate new Release with tag: $VERSION" echo "Generate new Release with tag: $VERSION"
ID=$(curl -X 'POST' \ ID=$(curl -X 'POST' \