Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.13 KB

RELEASE.md

File metadata and controls

34 lines (25 loc) · 2.13 KB

Release Process

Tracking MAAS core

When MAAS core releases an initial release candidate (e.g. 2.8.0-rc1), the following should occur:

  1. A new branch is created on the maas-ui repo to track the new MAAS release (e.g. 2.8).
  2. The major version of maas-ui should be incremented on master (e.g. 1.1.2 -> 2.0.0).
  3. Any features in progress not intended for the release, should be removed or disabled on the release branch.
  4. Bugfixes should be made on master and backported to release branches where needed.

Note

No new dependencies (unless in the case of a CVE), or features should land in the release branch once created.

maas-ui to maas-core version mapping

Currently maas-ui map to maas-core versions in the following way:

maas-ui maas-core
0.x.x 2.7
1.x.x 2.8
2.x.x 2.9

Creating a release

Semver

Please try to adhere to semantic versioning when creating a release. Although release drafter will just increment the patch, you should consider if the release contains new features, in which case the minor version should be incremented. For more details, refer to the semantic versioning spec.

Process

  1. Create a new local branch e.g. release-0.1.2.
  2. Run yarn release [version] where version is in the form 0.1.2. This will bump the version in ui/package.json and create a tag with a 'v' prefix. You will also need to manually update the root, shared and legacy package.json versions as well as the dependencies @maas-ui/maas-ui and @maas-ui/maas-ui-legacy.
  3. Propose this against the appropriate branch and merge.
  4. From the releases page, edit the draft release. Edit the title to reflect which MAAS release this maas-ui release targets e.g. v0.1.2 [2.7]. Feel free to edit the changelog to make it more readable. Also make sure to choose the correct target branch if releasing a backported fix.
  5. Email the MAAS & Design list with the changelog, with the subject "new maas-ui release - [version]", including the hash and tag of the release.