Permalink
Browse files

Update .travis.deploy.artifacts.sh

  • Loading branch information...
JohannesLichtenberger committed Dec 28, 2018
1 parent 8618160 commit aaf95e7f6fd414730b1be4399f00057f0a6ce6ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.deploy.artifacts.sh
@@ -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.