Skip to content

Commit 6100c7e

Browse files
committed
fix: enable batch mode
This is supposed to prevent the error "gpg: Sorry, no terminal at all requested - can't get input" when using --no-tty.
1 parent 18f20a8 commit 6100c7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,12 @@
194194
<goal>sign</goal>
195195
</goals>
196196
<configuration>
197-
<!-- Prevent `gpg` from using pinentry programs -->
198197
<gpgArguments>
198+
<!-- Prevent `gpg` from using pinentry programs -->
199199
<arg>--pinentry-mode</arg>
200200
<arg>loopback</arg>
201+
<!-- Prevent error `gpg: Sorry, no terminal at all requested - can't get input` -->
202+
<arg>--batch</arg>
201203
</gpgArguments>
202204
</configuration>
203205
</execution>

0 commit comments

Comments
 (0)