File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Expand file tree Collapse file tree 4 files changed +13
-2
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 "
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,6 +18,7 @@ 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"
2122 }
2223}
2324apply plugin : ' idea'
Original file line number Diff line number Diff line change 1- version =2.4.5-SNAPSHOT
1+ version =3.0.0
22group =io.github.lognet
33# group=org.lognet
44description =Spring Boot starter for Google RPC.
Original file line number Diff line number Diff line change @@ -10,8 +10,18 @@ project['signing.secretKeyRingFile']='/home/travis/.gnupg/secring.gpg'
1010
1111
1212apply plugin : ' com.bmuschko.nexus'
13+ apply plugin : ' io.codearte.nexus-staging'
14+ nexusStaging {
1315
16+ }
17+ def isRelease = ! (version ==~ / .*SNAPSHOT/ )
1418
19+ closeAndReleaseRepository {
20+ dependsOn uploadArchives
21+ onlyIf {
22+ isRelease
23+ }
24+ }
1525modifyPom {
1626 project {
1727 name ' grpc-spring-boot-starter'
You can’t perform that action at this time.
0 commit comments