Skip to content

Commit

Permalink
[ci] Set gpg.keyname for signing
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Dec 21, 2024
1 parent 5577452 commit a71422b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function snapshot_build() {
export MAVEN_GPG_PASSPHRASE="${CI_SIGN_PASSPHRASE}"
${xvfb_cmd} ./mvnw clean verify \
--show-version --errors --batch-mode --no-transfer-progress \
--activate-profiles sign_env \
--activate-profiles sign_env -Dgpg.keyname="${CI_SIGN_KEYNAME}" \
-Dtarget.platform=${TARGET_PLATFORM}
unset MAVEN_GPG_PASSPHRASE

Expand Down Expand Up @@ -122,7 +122,7 @@ function release_build() {
export MAVEN_GPG_PASSPHRASE="${CI_SIGN_PASSPHRASE}"
${xvfb_cmd} ./mvnw clean verify \
--show-version --errors --batch-mode --no-transfer-progress \
--activate-profiles sign_env \
--activate-profiles sign_env -Dgpg.keyname="${CI_SIGN_KEYNAME}" \
-Dtarget.platform=${TARGET_PLATFORM}
unset MAVEN_GPG_PASSPHRASE

Expand Down

0 comments on commit a71422b

Please sign in to comment.