ci-test (working now) #2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ jobs:
|
||||||
- name: create release
|
- name: create release
|
||||||
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' -H 'Authorization: token ${{ secrets.RELEASE_TOKEN }}' )
|
||||||
echo $VERSION | jq -r '.[0].tag_name'
|
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"
|
||||||
|
|
Loading…
Reference in a new issue