We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe02da commit d360580Copy full SHA for d360580
deploying/deploy.sh
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
2
REPO_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
3
-if [[ ! -z $TRAVIS_TAG ]] && [[ $REPO_VERSION != *-SNAPSHOT ]] && [[ "$TRAVIS_BRANCH" != "dev" ]]; then
+if [[ ! -z $TRAVIS_TAG ]] && [[ $REPO_VERSION != *-SNAPSHOT ]] && [[ "$TRAVIS_BRANCH" == 'master' ]]; then
4
mvn deploy -P sign,build-extras --settings $TRAVIS_BUILD_DIR/deploying/settings.xml
5
elif [[ $REPO_VERSION == *-SNAPSHOT ]] && [[ "$TRAVIS_BRANCH" == 'dev' ]]; then
6
0 commit comments