File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1212before_install :
1313- " openssl aes-256-cbc -K $encrypted_12c8071d2874_key -iv $encrypted_12c8071d2874_iv -in codesigning.asc.enc -out codesigning.asc -d && gpg --import ./codesigning.asc || echo"
1414after_success :
15- - " [[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_BRANCH} == 'master' ]] && [[ ${TRAVIS_TAG} == '' ]] && ./gradlew grpc-spring-boot-starter:closeAndReleaseRepository"
15+ - " [[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_BRANCH} == 'master' ]] && [[ ${TRAVIS_TAG} == '' ]] && ./gradlew grpc-spring-boot-starter:uploadArchives grpc-spring-boot-starter: closeAndReleaseRepository"
1616# - ./gradlew bintrayUpload artifactoryPublish
1717 - bash <(curl -s https://codecov.io/bash)
1818script :
Original file line number Diff line number Diff line change @@ -25,6 +25,17 @@ apply plugin: 'idea'
2525apply plugin : ' com.palantir.jacoco-full-report'
2626apply plugin : ' jacoco'
2727apply plugin : ' io.codearte.nexus-staging'
28+
29+ nexusStaging {
30+
31+ }
32+ def isRelease = ! (version ==~ / .*SNAPSHOT/ )
33+ closeAndReleaseRepository {
34+ onlyIf {
35+ isRelease
36+ }
37+ }
38+
2839allprojects {
2940 repositories {
3041 mavenCentral()
Original file line number Diff line number Diff line change @@ -11,17 +11,8 @@ project['signing.secretKeyRingFile']='/home/travis/.gnupg/secring.gpg'
1111
1212apply plugin : ' com.bmuschko.nexus'
1313
14- nexusStaging {
1514
16- }
17- def isRelease = ! (version ==~ / .*SNAPSHOT/ )
1815
19- closeAndReleaseRepository {
20- dependsOn uploadArchives
21- onlyIf {
22- isRelease
23- }
24- }
2516modifyPom {
2617 project {
2718 name ' grpc-spring-boot-starter'
You can’t perform that action at this time.
0 commit comments