Skip to content

Commit

Permalink
Update .travis.deploy.artifacts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Lichtenberger committed Dec 28, 2018
1 parent 8618160 commit aaf95e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.deploy.artifacts.sh
Expand Up @@ -2,5 +2,5 @@
PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')
if [[ "$PROJECT_VERSION" =~ .*SNAPSHOT ]] && [[ "${TRAVIS_BRANCH}" =~ ^master$|^[0-9]+\.[0-9]+$ ]] && [[ "${TRAVIS_PULL_REQUEST}" = "false" ]];
then
mvn deploy -s .travis.maven.settings.xml -DskipTests -B;
mvn clean install deploy -s .travis.maven.settings.xml -DskipTests -B;
fi

0 comments on commit aaf95e7

Please sign in to comment.