File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 7474 command : openssl enc -d -aes-256-cbc -md sha512 -pbkdf2 -iter 1000 -in gradle.properties.enc -out gradle.properties -pass "pass:$KEY"
7575 - deploy :
7676 name : Maven Central sync
77- command : ./gradlew mavenCentralSync -Prelease.useLastTag=true -x bintrayPublish -x bintrayUpload -x bintrayCreateVersion -x bintrayCreatePackage
77+ # arbitrarily choose one project to run the `mavenCentralSync` task since all use the same Bintray package
78+ command : ./gradlew :prometheus-rsocket-client:mavenCentralSync -Prelease.useLastTag=true -x bintrayPublish
7879 # Maven Central Sync might take more than 10 minutes per artifact
7980 no_output_timeout : 30m
8081
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ allprojects {
2525 }
2626 }
2727
28+ if (project. extensions. findByName(' bintray' )) {
29+ bintray. labels = [' micrometer' , ' metrics' , ' prometheus' , ' rsocket' ]
30+ bintray. packageName = ' prometheus-rsocket-proxy'
31+ }
32+
2833 afterEvaluate { project ->
2934 println " I'm building $project . name with version $project . version "
3035 }
Original file line number Diff line number Diff line change @@ -15,10 +15,12 @@ elif [ $CIRCLE_TAG ]; then
1515 openssl enc -d -aes-256-cbc -md sha512 -pbkdf2 -iter 1000 -in gradle.properties.enc -out gradle.properties -pass " pass:$KEY "
1616 case " $CIRCLE_TAG " in
1717 * -rc\. * )
18- ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true candidate dockerPushImage $SWITCHES -x release
18+ ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true candidate bintrayUpload $SWITCHES -x release -x bintrayPublish
19+ ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true :prometheus-rsocket-client:bintrayPublish dockerPushImage $SWITCHES -x bintrayUpload
1920 ;;
2021 * )
21- ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true final dockerPushImage $SWITCHES -x release -x artifactoryPublish
22+ ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true final bintrayUpload $SWITCHES -x release -x artifactoryPublish -x bintrayPublish
23+ ./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true :prometheus-rsocket-client:bintrayPublish dockerPushImage $SWITCHES -x bintrayUpload
2224 ./gradlew -Doverride.docker.springBootApplication.tag=micrometermetrics/prometheus-rsocket-proxy:latest dockerPushImage
2325 ;;
2426 esac
You can’t perform that action at this time.
0 commit comments