mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1.5 KiB
1.5 KiB
Release Guide
Releases for this repository are made via running the create-release-pr script defined in the package.json.
All releases will be made by creating a PR which bumps the version field in the package.json and, if necessary, cherry pick the relavent commits from master.
Prerequisites
npm- Running
npm install gh(Github's CLI) with a version at least 2.15.0
Steps
- If you are making a minor or major release (or prereleases of one) make sure you are on the
masterbranch. - If you are making a patch release (or a prerelease for one) make sure you are on the
release/v<MAJOR>.<MINOR>branch. - Run
npm run create-release-pr. - Pick the PRs that you want to include in this release using the keys listed.
- Once the PR is created, approved, and then merged the
Release Open Lensworkflow will create a tag and release for you. - If you are making a major or minor release, create a
release/v<MAJOR>.<MINOR>branch and push it tooriginso that future patch releases can be made from it. - If you released a major or minor version, create a new patch milestone and move all bug issues to that milestone and all enhancement issues to the next minor milestone.
- If you released a patch version, create a new patch milestone for the next patch version and move all the issues and PRs (open or closed) that weren't included in the current release to that milestone.
- Close the milestone related to the release that was just made (if not a prerelease release).