Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve gpg setup instructions #832

Merged
merged 2 commits into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Fragment from settings.xml (replace variables with values above):
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>${gpg.password}</gpg.passphrase>
</properties>
</profile>
</profiles>
Expand All @@ -38,3 +37,10 @@ Release is performed by two commands
mvn release:clean release:prepare -Prelease
mvn release:perform -Prelease
```

---
>_Note_: The gpg agent should ask for the passphrase to your gpg key automatically, in case that does not happen you can try to add property to the `<properties>` section:
>```
><gpg.passphrase>${gpg.password}</gpg.passphrase>
>```
>This approach is however __not recommended__, as it is not secure to store your passphrase anywhere on the filesystem.
Loading