ember-cli-qunit
Version:
QUnit testing package for ember-cli applications
35 lines (21 loc) • 1.24 kB
Markdown
The following is the release process you should follow to publish a new version of `ember-cli-qunit`.
First, we need to update the `CHANGELOG.md` file for the project. We do this via the [lerna-changelog](https://github.com/lerna/lerna-changelog). This requires all PRs to be labeled appropriately. Use the following command to generate the changelog from the most recent tag:
```bash
yarn changelog
```
Copy the output into `CHANGELOG.md`, where you replace the `Unreleased` with the appropriate version you are publishing.
_Note: Ensure you set up a GitHub Token when using the changelog generator, or else it will not work properly._
Review the changes and then commit them with a message like:
```bash
git commit -am "Update CHANGELOG for vx.x.x."
```
Next, we bump the version of the addon and tag it. You can do this by using the default `npm version` command, like so:
```bash
npm version x.x.x
```
That should bump the version in `package.json`, commit it, and then tag it. Be sure to push the commit and tag.
Next, push the version bump and the changelog changes to the repository. Upon successful build of the tag, Travis CI will publish to `npm`.