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

This commit is contained in:
gilesb 2023-10-23 22:23:21 +01:00
parent 78a828bf5a
commit e7ca3ccd99
1 changed files with 3 additions and 2 deletions

View File

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