Skip to content

Commit 0c4f058

Browse files
committed
Add info on secrets and signing keys to PROCESS.md
1 parent c68aad2 commit 0c4f058

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

PROCESS.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,18 @@ to the `master` branch that:
3838
2. Contains a commit message that starts with `[release]`
3939

4040
The [build workflow](.github/workflows/build.yml) sees `[release]` in the commit message
41-
and uses the `maven-release-plugin` to perform the release.
42-
The `maven-release-plugin` strips the `-SNAPSHOT` from the pom version,
43-
performs the release, and bumps the version to the next `-SNAPSHOT` version.
44-
45-
During the release process, the `nexus-staging-maven-plugin` deploys the artifact to
46-
a staging repository hosted at https://oss.sonatype.org/,
47-
and automatically [releases](https://central.sonatype.org/pages/releasing-the-deployment.html)
48-
the staging repository if no errors occur.
49-
After the staging repository is released, the new artifacts will eventually propagate to maven central.
41+
and uses the `maven-release-plugin` to perform the release, which then:
42+
43+
1. Strips the `-SNAPSHOT` from the pom version,
44+
2. Creates the git tag, and builds the artifacts
45+
3. Uses the `maven-gpg-plugin` to sign the artifacts with [this GPG signing key](http://keyserver.ubuntu.com/pks/lookup?search=0x794038C5C4DF6A3F&fingerprint=on&op=index)
46+
using the [`GPG_KEY` and `GPG_PASSPHRASE` secrets](https://github.com/logstash/logstash-logback-encoder/settings/secrets/actions)
47+
4. Uses the `nexus-staging-maven-plugin` to:
48+
1. Deploy the artifact to a staging repository hosted at https://oss.sonatype.org/
49+
using the [`OSSRH_USERNAME` and `OSSRH_PASSWORD` secrets](https://github.com/logstash/logstash-logback-encoder/settings/secrets/actions)
50+
2. Automatically [release](https://central.sonatype.org/pages/releasing-the-deployment.html) the staging repository if no errors occur.
51+
* After the staging repository is released, the new artifacts will eventually propagate to maven central.
52+
5. Bumps the version to the next `-SNAPSHOT` version.
5053

5154
After releasing, create a [release](https://github.com/logstash/logstash-logback-encoder/releases) for the tag
5255
that includes release notes of all the changes in the new version.

0 commit comments

Comments
 (0)