diff --git a/.circleci/config.yml b/.circleci/config.yml
index 078e5d265e4d9cad41831f8a51a29288401f2e37..cd2c569005dbdd57fb37299e34552488d3d95fb4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -55,8 +55,7 @@ jobs:
       - run: git config --global user.name "${GIT_USER}"
       - run: |
           GIT_TAG=none
-          echo "Last commit message: ${GIT_COMMIT_DESC}"
-          case "${GIT_COMMIT_DESC}" in
+          case "$(git log --format=oneline -n 1 $CIRCLE_SHA1)" in
             *"[patch]"*|*"[fix]"*|*"[bugfix]"* )   GIT_TAG=$(git semver --next-patch) ;;
             *"[minor]"*|*"[feat]"*|*"[feature]"* ) GIT_TAG=$(git semver --next-minor) ;;
             *"[major]"*|*"[breaking change]"* )    GIT_TAG=$(git semver --next-major) ;;