From 3a0f7058c63be8163583109cfddabd44d527dafe Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 21:23:57 +0000 Subject: [PATCH] develop/tags-1 -> build/tags-1 --- .gitea/workflows/pr-closed.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pr-closed.yml b/.gitea/workflows/pr-closed.yml index bce2525..c136c8a 100644 --- a/.gitea/workflows/pr-closed.yml +++ b/.gitea/workflows/pr-closed.yml @@ -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 }}