Skip to content

Commit a74d178

Browse files
authored
chore: restart gpg agent (#159)
1 parent ffcda60 commit a74d178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.kokoro/release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ setup_environment_secrets() {
1010
export GNUPGHOME=/tmp/gpg
1111
mkdir $GNUPGHOME
1212
mv ${KOKORO_KEYSTORE_DIR}/75669_functions-framework-java-release-bot-gpg-pubring $GNUPGHOME/pubring.kbx
13+
# Restart the gpg-agent to avoid the error of no default secret key.
14+
gpg -k
1315
}
1416

1517
create_settings_xml_file() {

0 commit comments

Comments
 (0)