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
Showing
5 changed files
with
76 additions
and
50 deletions.
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
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,29 @@ | ||
## Before the release | ||
|
||
* Land relevant changes. | ||
* Ensure CI is passing. | ||
|
||
## Prepare the commit | ||
|
||
* Update the `CHANGELOG` file. | ||
* Rebuild the readme and run the tests. | ||
`npx grunt` | ||
* Set the new version in the readme header. | ||
|
||
## Commit, push, and publish | ||
|
||
Consider using the [np tool](https://www.npmjs.com/package/np) to automate | ||
these steps. Note that "np" will require access to credentials for Git/SSH, | ||
and for npmjs.com. | ||
|
||
* Set the new version in `package.json`. | ||
* Update the lock file and re-run the tests. | ||
`npm install-test` | ||
* Stage and locally commit. | ||
`git add -p && git commit -m $NEW_VERSION` | ||
* Create the tag. | ||
`git tag -s v${NEW_VERSION} -m $NEW_VERSION` | ||
* Push commit and tag. | ||
`git push --follow-tags` | ||
* Publish package. | ||
`npm publish` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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