parent
048c768f93
commit
956f2004e4
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ jobs:
|
||||||
- name: get last release
|
- name: get last release
|
||||||
run: |
|
run: |
|
||||||
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}'')
|
||||||
- name: create release
|
- name: create release
|
||||||
run: |
|
run: |
|
||||||
curl -X 'POST' \
|
curl -X 'POST' \
|
||||||
|
|
Loading…
Reference in a new issue