Skip to content

Commit

Permalink
fix: update release pipeline to use maven token instead of user:passw…
Browse files Browse the repository at this point in the history
…ord (#300)
  • Loading branch information
dixuswe authored Nov 22, 2024
1 parent 09caeca commit bcce78e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ popd
# Get secrets from keystore and set and environment variables.
setup_environment_secrets() {
export GPG_TTY=$(tty)
export SONATYPE_USERNAME=functions-framework-release-bot
export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/75669_functions-framework-java-release-bot-sonatype-password)
export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/75669_functions-framework-java-release-bot-sonatype-password | cut -f1 -d':')
export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/75669_functions-framework-java-release-bot-sonatype-password | cut -f2 -d':')
export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase)

# Add the key ring files to $GNUPGHOME to verify the GPG credentials.
Expand Down

0 comments on commit bcce78e

Please sign in to comment.