How to Publish Changes - OmniSharp/generator-aspnet GitHub Wiki
You can use the instructions below to publish the npm package to npmjs.org.
- Get latest from git and switch to the
masterbranch - Update version in
packages.jsonusing thenpm versiontool (sample commandnpm version 1.0.0where1.0.0is the new version) - Run
npm testto ensure all tests pass locally - Check in changes in the
masterbranch - Push changes to github
- Ensure that the Travis CI build is passing
- Merge changes from
mastertoreleasebranch - Push changes to github in the
releasebranch
The Travis CI is configured to automatically publish to npmjs.org whenever a change is pushed to release because of this the version must always be updated in one of the commits in the CI build.