diff --git a/travis.sh b/travis.sh index 047aeb9..3807902 100755 --- a/travis.sh +++ b/travis.sh @@ -5,6 +5,7 @@ set -euo pipefail if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo "Setting Maven release values" mvn versions:set -DnewVersion=$(git tag | tail -n 1) + mvn versions:commit fi if [ "${TRAVIS_BRANCH}" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then