Skip to content

Commit

Permalink
Updated how to release docu
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuebner committed Jul 24, 2024
1 parent 0ab2731 commit ce73d20
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions gradle/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@

- Create local branch e.g. `release-1.0.0` (optional)
- Update the version to `version = '1.0.0'` in `sprotty-server/gradle/versions.gradle` and commit
- Make sure `SONATYPE_USERNAME` and `SONATYPE_PASSWORD` env variables contain the proper login information
- Run `./gradlew clean publish -P signing.gnupg.passphrase=<SECRET>`. `<SECRET>` is the passphrase for your pgp key.
- Make sure `SONATYPE_USERNAME` and `SONATYPE_PASSWORD` env variables contain the proper __TOKEN__ login information
1. Go to https://oss.sonatype.org/
2. Go to profile
3. Change the pulldown from “Summary” to “User Token”
4. Click on “Access User Token”

- Run `./gradlew clean publish -P signing.gnupg.passphrase=<SECRET>`. `<SECRET>` is the passphrase for your pgp key.
- Go to [OSS Staging Repository](https://oss.sonatype.org/#stagingRepositories) and __Close__ -> __Release__ the staging repositories
- Check the released version inside the [maven repo]https://repo1.maven.org/maven2/org/eclipse/sprotty/)
- Check the released version inside the [maven repo](https://repo1.maven.org/maven2/org/eclipse/sprotty/)
- Create a tag named `v1.0.0` and push tag to remote
- Switch to master. Change gradle version to next snapshot e.g. 1.1.0-SNAPSHOT and commit.
- Switch to master. Change gradle version to next snapshot e.g. 1.1.0-SNAPSHOT and commit.

0 comments on commit ce73d20

Please sign in to comment.