Skip to content

Commit

Permalink
Fix gpg import key utility (apache#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Sep 17, 2024
1 parent dbfc609 commit ed1ea48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins-pipeline-shared-libraries/vars/releaseUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def gpgImportKeyFromStringWithoutPassword(String gpgKeyCredentialsId) {
echo "$SIGNING_KEY" > $WORKSPACE/signkey.gpg
# Please do not remove list keys command. When gpg is run for the first time, it may initialize some internals.
gpg --list-keys
gpg --batch --pinentry-mode=loopback --import signkey.gpg
gpg --batch --pinentry-mode=loopback --import $WORKSPACE/signkey.gpg
rm $WORKSPACE/signkey.gpg
"""
}
Expand Down

0 comments on commit ed1ea48

Please sign in to comment.