Remove distribution management

This commit is contained in:
Adam
2018-05-17 19:54:50 -04:00
parent 75674cfd55
commit 37ec6d0ac9
2 changed files with 1 additions and 24 deletions

View File

@@ -1,12 +1,3 @@
#!/bin/bash
PROJECT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive exec:exec`
# Don't deploy pull requests (there are no secrets, anyway)
# And don't deploy releases, they are already deployed by the updater before this,
# and are signed.
if [[ "${TRAVIS_PULL_REQUEST}" == "false" && $PROJECT_VERSION == *"-SNAPSHOT" && "$TRAVIS_BRANCH" == "master" ]]; then
mvn clean deploy --settings travis/settings.xml
else
mvn clean install --settings travis/settings.xml
fi
mvn clean install --settings travis/settings.xml