Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
chore: add nexus-publish plugin (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neenu1995 committed Oct 6, 2021
1 parent 9cffdd6 commit 6289d62
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .kokoro/release/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,4 @@ setup_environment_secrets
mkdir -p ${HOME}/.gradle
create_gradle_properties_file "${HOME}/.gradle/gradle.properties"

./gradlew publishToSonatype

if [[ -n "${AUTORELEASE_PR}" ]]
then
./gradlew closeAndReleaseSonatypeStagingRepository
fi
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

0 comments on commit 6289d62

Please sign in to comment.