From 940a10960110b863901ddcd779f1a153ace50b66 Mon Sep 17 00:00:00 2001 From: Joachim Jablon Date: Fri, 1 Sep 2023 22:27:33 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a94053f7..d0565264 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,6 +53,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | + set -eux git fetch --tags origin current="$(git describe --tags --abbrev=0 --match 'v*.*')" @@ -63,7 +64,7 @@ jobs: git push -f origin ${major} # Major releases will be released manually. - patch=$((patch + 1)) + minor=$((minor + 1)) new_tag="${major}.${minor}" gh release create ${new_tag} --generate-notes