-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUILD-4860 Document the release process of parent-oss project (#159)
That way, collaborators have a guide and we can potentially automate it later.
- Loading branch information
1 parent
33c3b91
commit 214cfad
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Releasing the parent-oss project | ||
|
||
> WARN: Due to some internal tooling (releasability checks) semantic versioning is barely supported. | ||
> | ||
> Therefore, a new release number has to be a new **major**. | ||
Assume you want to release from version `70.0.0.x`, | ||
**the next version must be** `71.0.0.x` | ||
1. Prepare a new project release in [Jira](https://sonarsource.atlassian.net/projects/PARENTOSS?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page) with as version `71.0` (no patch or build number) | ||
|
||
2. Leave the Jira version status as `UNRELEASED` | ||
3. Update pom.xml version of parent-oss project. (example [PR](https://github.com/SonarSource/parent-oss/pull/158/files)) | ||
4. Check that releasability checks pass on [Burgr](https://burgr.sonarsource.com/projects/SonarSource/parent-oss/main) | ||
5. Retrieve the last build number on [Burgr](https://burgr.sonarsource.com/projects/SonarSource/parent-oss/main) (`major.minor.patch.build-number`) | ||
6. On GitHub create a new release and set this number retrieved from Burgr as tag and release version | ||
7. Publish the release | ||
8. Check that the [GitHub release workflow](https://github.com/SonarSource/parent-oss/actions/workflows/release.yml) run well | ||
9. Check it is gracefully deployed on [Sonatype](https://central.sonatype.com/artifact/org.sonarsource.parent/parent). | ||
|
||
> WARN: It can take up to 24h to have the release synchronized with Sonatype. Sometimes it is very fast sometimes not) |