Skip to content

Commit

Permalink
ci: remove 'v' from semantic versioning tags
Browse files Browse the repository at this point in the history
  • Loading branch information
luispfgarces committed Sep 18, 2021
1 parent 1cca410 commit 9f9ce8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
if [[ $LAST_COMMIT_MESSAGE =~ ^major:.*$ ]]; then
echo "Bumping to next major version."
NEXT_VERSION="v$MAJOR"
NEXT_VERSION="$MAJOR"
elif [[ $LAST_COMMIT_MESSAGE =~ ^feat:.*$ ]]; then
echo "Bumping to next minor version."
NEXT_VERSION="v$MINOR"
NEXT_VERSION="$MINOR"
elif [[ $LAST_COMMIT_MESSAGE =~ ^(fix|ci|refactor|chore):.*$ ]]; then
echo "Bumping to next patch version."
NEXT_VERSION="v$PATCH"
NEXT_VERSION="$PATCH"
else
echo "Skipping version bump."
NEXT_VERSION="$CURRENT"
Expand Down

0 comments on commit 9f9ce8a

Please sign in to comment.