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

Fix tagging #12

Merged
merged 3 commits into from
Dec 1, 2017
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
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