Skip to content

Commit e97bf96

Browse files
authored
👷 create ciPublish.sh
1 parent 2ce5783 commit e97bf96

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ciPublish.sh

+9
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)