........
build-develop-branch / build-branch (push) Successful in 38s Details

This commit is contained in:
gilesb 2023-10-23 22:54:56 +01:00
parent 7dcad7a562
commit 21470044e8
1 changed files with 2 additions and 4 deletions

View File

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