Skip to content

Commit d4bb872

Browse files
author
Alexander Furer
committed
sonatype release
1 parent c5fd710 commit d4bb872

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cache:
1212
before_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"
1414
after_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)
1818
script:

publishSonatype.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ apply plugin: 'com.bmuschko.nexus'
1313
apply plugin: 'io.codearte.nexus-staging'
1414

1515
def isRelease = !(version ==~ /.*SNAPSHOT/)
16-
closeAndReleaseRepository.dependsOn uploadArchives
16+
1717
closeAndReleaseRepository.onlyIf {
1818
isRelease
1919
}

0 commit comments

Comments
 (0)