Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
950089d
commit 5093bab
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Release Process | ||
|
||
The following details how to perform a release for `ember-exam`. | ||
|
||
## Update Changelog | ||
|
||
First, we need to update the changelog using [`git-extras`](https://github.com/tj/git-extras). | ||
|
||
```bash | ||
git changelog | ||
``` | ||
|
||
Be sure to cleanup the changelog by removing merge commits or any commits that don't provide meaningful information. Then, commit the changes with the following message: | ||
|
||
```bash | ||
git commit -am "Update changelog for vx.x.x" | ||
``` | ||
|
||
## Tag A New Version | ||
|
||
Next, we need to tag the new version. We do this using the built in `npm` command: | ||
|
||
```bash | ||
npm version x.x.x | ||
``` | ||
|
||
Then, we push the new commits and tag to the repo: | ||
|
||
``` | ||
git push origin master --tags | ||
``` | ||
|
||
## Publish The New Version | ||
|
||
Almost there! We now publish the new version using: | ||
|
||
```bash | ||
npm publish | ||
``` | ||
|
||
## Update release notes | ||
|
||
Finally, publish the [release on GitHub](https://github.com/trentmwillis/ember-exam/releases) by drafting a new release. Use the changelog to populate the entry. | ||
|
||
And that's it! Congratulations! |