Commit e25de1e
committed
Fix GPG signature when deploying
When using gpg > 2.1, we need to add some arguments:
```xml
<configuration>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
```
See https://central.sonatype.org/publish/publish-maven/#gpg-signed-components
Also if we end up seeing a message like:
> gpg: Note: database_open XYZ waiting for lock (held by XXXX)
We need to manually run:
```sh
rm ~/.gnupg/public-keys.d/pubring.db.lock
```1 parent e5c9dbd commit e25de1e
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
339 | 345 | | |
340 | 346 | | |
341 | 347 | | |
| |||
0 commit comments