#!/usr/bin/env bash set -ev # Use full history for release git checkout -B "${TRAVIS_BRANCH}" # Add email to link commits to user git config user.email "${GIT_EMAIL}" # Run the release plugin - with "[skip ci]" in the release commit message mvn -B \ -Prelease,fullBuild,all-tas-tests \ "-Darguments=-Prelease,fullBuild,all-tas-tests -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \ release:clean release:prepare release:perform \ -DscmCommentPrefix="[maven-release-plugin][skip ci] " \ -Dusername="${GIT_USERNAME}" \ -Dpassword="${GIT_PASSWORD}"