Skip to content

Commit

Permalink
Attempted to fix the build failure, simplified the script
Browse files Browse the repository at this point in the history
  • Loading branch information
shipkit-org committed Aug 6, 2020
1 parent 8593691 commit 03eb134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ install: skip

script:
- >
./gradlew build --scan
&& ./gradlew bintrayUpload --scan -PdryRun
&& 'if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then ./gradlew githubRelease bintrayUpload --scan; fi'
./gradlew build bintrayUpload --scan -PbintrayDryRun
&& if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ];
then ./gradlew githubRelease bintrayUpload --scan; fi
2 changes: 1 addition & 1 deletion gradle/java-publication.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ bintray {
user = 'szczepiq'
key = System.getenv('BINTRAY_API_KEY')
publish = true
dryRun = project.hasProperty("dryRun")
dryRun = project.hasProperty("bintrayDryRun")
publications = ['maven']

pkg {
Expand Down

0 comments on commit 03eb134

Please sign in to comment.