| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
Releases are mostly automated using release-it and lerna-changelog.
Since the majority of the actual release process is automated, the primary remaining task prior to releasing is confirming that all pull requests that have been merged since the last release have been labeled with the appropriate lerna-changelog labels and the titles have been updated to ensure they represent something that would make sense to our users. Some great information on why this is important can be found at keepachangelog.com, but the overall guiding principle here is that changelogs are for humans, not machines.
When reviewing merged PR's the labels to be used are:
Once the prep work is completed, the actual release is straight forward:
First, ensure that you have an environment variable with your GitHub token setup as GITHUB_AUTH. This token will be used for generating your changelog (unauthenticated requests to the GitHub API are heavily throttled) and for creating the GitHub release. Only "repo" access is needed; no "admin" or other scopes are required.
Next, ensure that you have installed your projects dependencies:
pnpm install
pnpm release
release-it manages the actual release process. It will prompt you to to choose the version number after which you will have the chance to hand tweak the changelog to be used (for the CHANGELOG.md and GitHub release), then release-it continues on to tagging, pushing the tag and commits, etc. Finally GitHub Actions will build the commit and push the release to npm.
Thie initial version of this document was copied from ember-test-selectors
| Back | FazBrowse Home | New Git URL |