From 22ee517624dcbc8cb17d09ec95e6d230b1e10e14 Mon Sep 17 00:00:00 2001 From: Laysa de Sousa Bitencourt Date: Mon, 20 May 2024 17:05:47 -0300 Subject: [PATCH] echo --- .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 6baa2664..e963f22a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,9 +50,10 @@ jobs: elif [[ $BRANCH_NAME =~ ^patch/ ]]; then VERSION_PARTS[2]=$((VERSION_PARTS[2] + 1)) elif [[ $BRANCH_NAME =~ ^release/ ]]; then + echo "1 and 1 is 1" VERSION_PARTS[0]=$((VERSION_PARTS[0] + 1)) fi - NEXT_VERSION="v${VERSION_PARTS[0]}.${VERSION_PARTS[1]}.${VERSION_PARTS[2]}" + NEXT_VERSION="${VERSION_PARTS[0]}.${VERSION_PARTS[1]}.${VERSION_PARTS[2]}" echo ::set-output name=NEXT_VERSION::"$NEXT_VERSION" - name: Create and publish new tag