Skip to content

Commit

Permalink
Fix tagging (cloudalchemy#12)
Browse files Browse the repository at this point in the history
* Update generatetag.sh
  • Loading branch information
paulfantom authored Dec 1, 2017
1 parent dfe5a21 commit 572fccc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis/generatetag.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# Test if current commit is already tagged
git tag --points-at
[[ $(git tag --points-at) ]] && exit 0

git config --global user.email "[email protected]"
git config --global user.name "paulfantom"
GIT_TAG=$([[ "$TRAVIS_COMMIT_MESSAGE" =~ ("Merge pull request".*/feature.*) ]] && git semver --next-minor || git semver --next-patch )
Expand Down

0 comments on commit 572fccc

Please sign in to comment.