We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ce5783 commit e97bf96Copy full SHA for e97bf96
ciPublish.sh
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+set -ev
3
+
4
+if [ "$CI" == "true" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
5
+ echo "Running a non-PR build on master - publish artifact"
6
+ ./gradlew publishApkRelease
7
+else
8
+ echo "The artifact will not be published"
9
+fi
0 commit comments