- create a tag - publish to npm - bump the version to the next number (I prefer to have vnext in my package.json. Possibly also with -dev suffix.)
`alias npublish = npm version patch && git push origin master && npm publish` That alias will those 3 steps. I use git from the command line and care about commit messages (to some extent) so I just commit things manually. I don't do changelog or release notes as auto generating those is just duplicating git history which is a waste. If your doing those manually then do them manually. On Mon, Jul 22, 2013 at 11:52 PM, Miroslav Bajtoš <[email protected]>wrote: > Hi noders, > > I am looking for a tool that will automate steps of publishing a new > version of an npm module: > > - update Authors (if configured) > - generate release notes (if configured) > - update Changelog (if configured) > - commit changes to git > - create a tag > - publish to npm > - bump the version to the next number (I prefer to have vnext in my > package.json. Possibly also with -dev suffix.) > > I found two projects that might be helpful, although they bump the version > before publishing: grunt-release [1] and grunt-bump [2]. There is also > Bert's libuv-release-tool [3] which is very specific to libuv. > > How do you release your npm modules? What other modules do you know that I > can use or draw inspiration from? > > Miroslav > > [1] https://npmjs.org/package/grunt-release > [2] https://npmjs.org/package/grunt-bump > [3] https://github.com/piscisaureus/libuv-release-tool > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
