........
This commit is contained in:
parent
b914084c9b
commit
3eebdc98c5
|
@ -24,10 +24,8 @@ jobs:
|
||||||
- name: get tag
|
- name: get tag
|
||||||
run: |
|
run: |
|
||||||
../tea r ls -o=simple
|
../tea r ls -o=simple
|
||||||
version="$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1)"
|
version="$(../tea r ls -o=simple | head -n 1 | tr " " "\n" | head -n 1 | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')"
|
||||||
newversion="$(version | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')"
|
../tea r c --note="this isrelease ${version}" --tag=${version} --title=${version} --target=${{ github.sha }}
|
||||||
echo $newversion
|
|
||||||
../tea r c --note="this isrelease ${newversion}" --tag=${newversion} --title=${newversion} --target=${{ github.sha }}
|
|
||||||
- name: delete develop branch
|
- name: delete develop branch
|
||||||
id: delete_develop_branch
|
id: delete_develop_branch
|
||||||
run: git push origin --delete ${{ github.head_ref }}
|
run: git push origin --delete ${{ github.head_ref }}
|
||||||
|
|
Loading…
Reference in New Issue