File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Expand file tree Collapse file tree 3 files changed +10
-12
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:uploadArchives grpc-spring-boot-starter: closeAndReleaseRepository"
15+ - " [[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ ${TRAVIS_BRANCH} == 'master' ]] && [[ ${TRAVIS_TAG} == '' ]] && ./gradlew 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 @@ -18,23 +18,13 @@ buildscript {
1818 classpath " org.jfrog.buildinfo:build-info-extractor-gradle:4.0.0"
1919 classpath ' com.palantir:jacoco-coverage:0.4.0'
2020 classpath ' com.bmuschko:gradle-nexus-plugin:2.3.1'
21- classpath " io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.12 .0"
21+ classpath " io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.10 .0"
2222 }
2323}
2424apply plugin : ' idea'
2525apply plugin : ' com.palantir.jacoco-full-report'
2626apply plugin : ' jacoco'
27- apply plugin : ' io.codearte.nexus-staging'
2827
29- nexusStaging {
30-
31- }
32- def isRelease = ! (version ==~ / .*SNAPSHOT/ )
33- closeAndReleaseRepository {
34- onlyIf {
35- isRelease
36- }
37- }
3828
3929allprojects {
4030 repositories {
Original file line number Diff line number Diff line change @@ -10,7 +10,15 @@ project['signing.secretKeyRingFile']='/home/travis/.gnupg/secring.gpg'
1010
1111
1212apply plugin : ' com.bmuschko.nexus'
13+ apply plugin : ' io.codearte.nexus-staging'
1314
15+ def isRelease = ! (version ==~ / .*SNAPSHOT/ )
16+ closeAndReleaseRepository {
17+ dependsOn uploadArchives
18+ onlyIf {
19+ isRelease
20+ }
21+ }
1422
1523
1624modifyPom {
You can’t perform that action at this time.
0 commit comments