Starting from a state where everything is in master that we want released.
The GitHub Portion
# npm run script
npm run release
This will ...
- bumps the version in _package.json (based on the commit history)
- updates CHANGELOG.md for the currnet version
- commits package.json and CHANGELOG.md
- tags a new release
# npm run script
npm run release -- --prerelease <alpha || beta || rc>
this does the above but tags the version 2.0.1-alpha.0
, 2.0.1-beta.0
, 2.0.1-rc.0
# npm run script
npm run release:tag:v2
this pushes the newly created tag to github
# npm run script
npm login
# npm run script
npm run release:publish
this runs the build ( with clean & linting ) and publishes karma-webpack to npm using the latest github tag (created above)