Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 3.3 KB

RELEASING.md

File metadata and controls

58 lines (36 loc) · 3.3 KB

Releasing

Versioning

This project follows semver.

Major and minor versions follow the versioning in the Echoes Design System. Patches may diverge.

For more details, refer to the internal versioning strategy (Sonar employees only)

Release Process for Release Candidates

  • Make sure the version is correct in package.json
    • If not, bump it with a [No Jira] Prepare version vX.Y.Z-rcN commit message
  • Publish a new GitHub release targeting the candidate branch (usually the main branch):
    • Title: @sonarsource/echoes-react - vX.Y.Z-rcN
    • Description: You can leave this blank
    • Check [x]Set as a pre-release
      • Make sure [ ]Set as the latest release has been automatically unchecked.
    • Click Publish release

Release Process for Major and Minor Versions

Release Process for Patch Versions

  • Check out the version branch branch-x.y

  • Bump the package version with yarn version patch and commit with message [No Jira] Prepare for version x.y.z.

  • Cherry-pick the commits from the main branch that need to be in this patch release

  • Create a PR on the version branch with the changes

  • Create a new version in the Echoes Design System project like this one

  • Tag the relevant tickets with this new version

  • Once the PR is merged, follow the same procedure as for Major/Minor versions, starting with the creation of a Jira REL ticket, and skipping the version bump at the end