Skip to content

Commit 40dfd18

Browse files
committed
added gpg config
1 parent 1bd1074 commit 40dfd18

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Deploy Release
4949
run: |
50-
export GPG_TTY=$(tty)
50+
export GPG_TTY=`tty`
5151
mvn -B -ff -ntp deploy -DskipTests
5252
shell: bash
5353
env:

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,13 @@
482482
<goals>
483483
<goal>sign</goal>
484484
</goals>
485+
<configuration>
486+
<gpgArguments>
487+
<arg>--batch</arg>
488+
<arg>--pinentry-mode</arg>
489+
<arg>loopback</arg>
490+
</gpgArguments>
491+
</configuration>
485492
</execution>
486493
</executions>
487494
</plugin>

0 commit comments

Comments
 (0)