- Go to https://github.com/prometheus/client_java/releases/new
- Click on "Choose a tag", enter the tag name (e.g.
v0.1.0), and click "Create a new tag". - Click on "Generate release notes" to auto-generate the release notes based on the commits since the last release.
- Click on "Publish release".
- Generate a new key: https://central.sonatype.org/publish/requirements/gpg/#generating-a-key-pair
- Distribute the key: https://central.sonatype.org/publish/requirements/gpg/#distributing-your-public-key
- use
gpg --armor --export-secret-keys YOUR_IDto export (docs) - Update the passphrase: https://github.com/prometheus/client_java/settings/secrets/actions/GPG_SIGNING_PASSPHRASE
- Update the GPG key: https://github.com/prometheus/client_java/settings/secrets/actions/GPG_SIGNING_KEY