Skip to content

Commit

Permalink
echo
Browse files Browse the repository at this point in the history
  • Loading branch information
laysabit committed May 20, 2024
1 parent 9eed97c commit 22ee517
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22ee517

Please sign in to comment.