Skip to content

Commit 0ff2740

Browse files
committed
fix: attempt gpg reload
1 parent 8671ad9 commit 0ff2740

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,17 @@ jobs:
3434

3535
- name: Configure GPG
3636
run: |
37+
echo "use-agent" >> ~/.gnupg/gpg.conf
38+
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
3739
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
38-
gpgconf --reload gpg-agent
40+
echo RELOADAGENT | gpg-connect-agent
3941
4042
- name: Publish to Maven Central
4143
run: |
4244
./mvnw clean deploy \
4345
-P production-releases \
4446
-D maven.test.skip=true \
4547
-D gpg.passphrase="${MAVEN_GPG_PASSPHRASE}" \
46-
-D gpg.args="--pinentry-mode=loopback" \
4748
-pl !bolt-kotlin-examples \
4849
-pl !bolt-quarkus-examples \
4950
--batch-mode \

0 commit comments

Comments
 (0)