Skip to content

Commit 143477b

Browse files
authored
Merge pull request #10 from MiPushFramework/canary
fix(build): do not publish on pull request builds
2 parents 2f9117f + 7cacd3a commit 143477b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
echo "Current branch is ${TRAVIS_BRANCH}"
3-
if [ "$TRAVIS_BRANCH" = "master" ]
3+
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]
44
then
55
echo "Building & publishing"
66
./gradlew :app:publishReleaseApk --daemon --parallel

0 commit comments

Comments
 (0)