We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a646a04 + 4bc7772 commit a824949Copy full SHA for a824949
.circleci/config.yml
@@ -55,8 +55,7 @@ jobs:
55
- run: git config --global user.name "${GIT_USER}"
56
- run: |
57
GIT_TAG=none
58
- echo "Last commit message: ${GIT_COMMIT_DESC}"
59
- case "${GIT_COMMIT_DESC}" in
+ case "$(git log --format=oneline -n 1 $CIRCLE_SHA1)" in
60
*"[patch]"*|*"[fix]"*|*"[bugfix]"* ) GIT_TAG=$(git semver --next-patch) ;;
61
*"[minor]"*|*"[feat]"*|*"[feature]"* ) GIT_TAG=$(git semver --next-minor) ;;
62
*"[major]"*|*"[breaking change]"* ) GIT_TAG=$(git semver --next-major) ;;
0 commit comments