ci-test (working now) #2

Merged
Snoweuph merged 82 commits from ci-test into master 2023-04-05 19:20:53 +00:00
Showing only changes of commit c056bd5db2 - Show all commits

View file

@ -41,7 +41,7 @@ jobs:
echo "Getting last Release Tag" echo "Getting last Release Tag"
VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?page=1&limit=1' -H 'accept: application/json') VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?page=1&limit=1' -H 'accept: application/json')
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" echo "Generate new Release with tag: $VERSION"
ID=$(curl -X 'POST' \ ID=$(curl -X 'POST' \
'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases' \ 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases' \
-H 'accept: application/json' \ -H 'accept: application/json' \