]> git.gsnw.org Git - fping.git/commitdiff
deploy to bintray also version3
authorDavid Schweikert <david@schweikert.ch>
Thu, 9 Feb 2017 08:43:01 +0000 (09:43 +0100)
committerDavid Schweikert <david@schweikert.ch>
Thu, 9 Feb 2017 08:43:01 +0000 (09:43 +0100)
ci/deploy-bintray.sh

index dcb53d1f221da00acd5d178dd7f20436ae2e9b7b..95219a30e8917391359c6ae7fb887802586e388b 100755 (executable)
@@ -10,9 +10,9 @@ set -e
 #    exit 0
 #fi
 
-# do this only for the master branch
-if [ "$TRAVIS_BRANCH" != "master" ]; then
-    echo "skipped upload branch $TRAVIS_BRANCH isn't master"
+# do this only for the master and version3 branch
+if [ "$TRAVIS_BRANCH" != "master" -a "$TRAVIS_BRANCH" != "version3" ]; then
+    echo "skipped upload branch $TRAVIS_BRANCH isn't master/version3"
     exit 0
 fi