File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change
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 ` .
You can’t perform that action at this time.
0 commit comments