File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -182,11 +182,7 @@ jobs:
182182
183183 - deploy :
184184 name : Deploy bintray
185- command : |
186- if [ "${CIRCLE_BRANCH}" == "master" ]
187- then
188- ./gradlew assemble bintrayUpload
189- fi
185+ command : ./gradlew assemble bintrayUpload
190186 - save_cache :
191187 key : barista-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "build.gradle" }}-{{ checksum "gradle.properties" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
192188 paths :
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ if (System.env.BINTRAY_USER && System.env.BINTRAY_KEY) {
55 user = System . env. BINTRAY_USER
66 key = System . env. BINTRAY_KEY
77 publications = [" mavenJava" ]
8+ dryRun = System . env. CIRCLE_BRANCH != " master"
9+ publish = true
810 pkg {
911 repo = " spar-wings"
1012 name = project. name
You can’t perform that action at this time.
0 commit comments