Skip to content

Commit

Permalink
docs: Release guidelines (#57)
Browse files Browse the repository at this point in the history
* docs: Release guidelines

* docs: Improve wording in releasing docs

* docs: Improve releasing docs further

* release-docs: added info about snapshot PR

---------

Co-authored-by: Nicklas Lundin <[email protected]>
  • Loading branch information
fabriziodemaria and nicklasl authored Oct 2, 2023
1 parent 10d0b85 commit 579793a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,14 @@ Maven is configured to sign the generated artifacts using GPG. This is a securit

Signing passphrases are securely stored in Github's CI, but the signing operation is not needed when developing locally and can always
be skipped via the argument `-Dgpg.skip`

### Releasing
Github Actions are set up that are able to:
- Create automated PRs to manage new Github tags/releases
- Manage versioning automatically (including the `pom.xml` file)
- Upload the generated artifacts to Maven Central **Staging**

In order to promote an uploaded version from **Staging** to **Release** (hence making it openly available on [Maven Central Search](https://central.sonatype.com/)) a user with the right credentials must login into the the [Sonatype UI](https://oss.sonatype.org/#welcome) and perform the release process manually.

#### After realeasing
After a release PR is merged, the main branch will stay at the release version (non-snapshot) until updated. Release please will create a PR ([example](https://github.com/spotify/confidence-openfeature-provider-java/pull/55)) that does this "snapshot bump". The recommendation is to merge that PR directly when possible.

0 comments on commit 579793a

Please sign in to comment.