diff --git a/createTag.sh b/createTag.sh index 6d8c963..f2e9abb 100755 --- a/createTag.sh +++ b/createTag.sh @@ -51,8 +51,8 @@ NEEDS_TAG=$(git describe --contains "$GIT_COMMIT" 2>/dev/null) if [ -z "$NEEDS_TAG" ]; then echo "Tagged with $NEW_TAG" + git tag -a $NEW_TAG -m"Release $NEW_TAG" git push --tags - git push else echo "Already a tag on this commit" fi