Skip to content

Commit

Permalink
fix: print username for maven repo publish and revert maven-source-pl…
Browse files Browse the repository at this point in the history
…ugin to 3.2.1 (#307)

* fix: update release pipeline to use maven token instead of user:password

* fix:revert maven-source-plugin to 3.2.1

* fix: print username for maven repo publish and revert
maven-source-plugin to 3.2.1
  • Loading branch information
dixuswe authored Nov 22, 2024
1 parent 2db9a2b commit 54180ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ setup_environment_secrets() {
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)
echo $SONATYPE_USERNAME

# Add the key ring files to $GNUPGHOME to verify the GPG credentials.
export GNUPGHOME=/tmp/gpg
Expand Down
2 changes: 1 addition & 1 deletion functions-framework-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down

0 comments on commit 54180ad

Please sign in to comment.