You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PROCESS.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,15 +38,18 @@ to the `master` branch that:
38
38
2. Contains a commit message that starts with `[release]`
39
39
40
40
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.
50
53
51
54
After releasing, create a [release](https://github.com/logstash/logstash-logback-encoder/releases) for the tag
52
55
that includes release notes of all the changes in the new version.
0 commit comments