Skip to content

Commit

Permalink
Add instructions to fix gpg ioctl error during release
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanvlek committed Dec 7, 2023
1 parent b484a96 commit a30f40b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sonatype-release-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
```

For gpg problems (inappropriate ioctl for device)

```shell
export GPG_TTY=$(tty)
```

Then, run this command to prepare the release.

`$ mvn release:prepare`

4. Perform the release:
Expand Down

0 comments on commit a30f40b

Please sign in to comment.