Skip to content

Commit 5459667

Browse files
committed
Release instructions
1 parent 5e5a704 commit 5459667

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

RELEASE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To release the library
2+
3+
1. Merge, and move to `master`
4+
1. Update the CHANGELOG.md with the next release number and date. Commit it.
5+
1. Run `npm version <patch|minor|major>` depending on the type of release.
6+
This will bump the version in `package.json` and create a tag and commit.
7+
1. Push master and the tag: `git push; git push origin v<release number>`
8+
1. Cut a release in Github, using the tag you just pushed and copying the
9+
approprate section of the changelog.
10+
1. Ensure you are logged in to npm as `pusherapp` user, password in the vault.
11+
Use `npm login` if you're not sure.
12+
1. Double check that there is nothing uncommitted or untracked in your working
13+
copy. *npm publishes the entire contents of the directory, uncommited,
14+
untracked, gitignored or otherwise, temporary files, credentials and all!*
15+
1. `npm publish`.

0 commit comments

Comments
 (0)