Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Update generatetag.sh #52

Merged
merged 1 commit into from
Jan 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis/generatetag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ git tag --points-at

git config --global user.email "paulfantom@gmail.com"
git config --global user.name "paulfantom"
GIT_TAG=$([[ "$TRAVIS_COMMIT_MESSAGE" =~ ("Merge pull request".*[feature].*) ]] && git semver --next-minor || git semver --next-patch )
GIT_TAG=$([[ "$TRAVIS_COMMIT_MESSAGE" =~ ("Merge pull request".*\[feature\].*) ]] && git semver --next-minor || git semver --next-patch )
echo $GIT_TAG
git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
GIT_URL=$(git config --get remote.origin.url)
Expand Down