Skip to content

Commit

Permalink
Rename release profile (#133)
Browse files Browse the repository at this point in the history
As we dumped nx2 staging plugin, rename the profile
ID to something more logical: "sisu-release".
  • Loading branch information
cstamas authored May 30, 2024
1 parent 2804808 commit 1305b17
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Releasing Sisu

## Maven

Note: Build uses latest `maven-gpg-plugin` and is getting rid "old bad practices" of storing sensitive information in
any Maven configuration file. Hence, on Workstations, users are recommended to have GPG Agent set up and running,
as plugin will make use of it to get the sensitive information. On unattended releases, the use of
BouncyCastle signer is recommended, and use environment variables `MAVEN_GPG_KEY` and `MAVEN_GPG_PASSPHRASE`
to pass over the key material and the passphrase to `maven-gpg-plugin`.
See [maven-gpg-plugin site](https://maven.apache.org/plugins/maven-gpg-plugin/usage.html) for more information.

### Release steps

The "usual" Maven release:
* `mvn release:prepare`
* `mvn release:perform`
* project uses https://oss.sonatype.org/ to stage (manual step: close and release staging repository)

## Site

TBD
2 changes: 1 addition & 1 deletion org.eclipse.sisu.inject/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@

<profiles>
<profile>
<id>sonatype-oss-release</id>
<id>sisu-release</id>
<build>
<plugins>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
<configuration>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<arguments>-Psonatype-oss-release</arguments>
<arguments>-Psisu-release</arguments>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<scmCommentPrefix>|</scmCommentPrefix>
Expand Down Expand Up @@ -572,7 +572,7 @@ Bundle-DocURL: http://www.eclipse.org/sisu/
</build>
</profile>
<profile>
<id>sonatype-oss-release</id>
<id>sisu-release</id>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit 1305b17

Please sign in to comment.