In order to release a new version of focus on both github and npm, you have to follow these steps:
- Get the latest version of the sources on the
masterbranch with agit pull origin master - Increase the version in the
package.jsonfile (maybe it has already be done check npm website - Go on the Release branch with a
git checkout release - Be sure to have the latest version of the release branch with a
git pull origin release - Merge all changes from master branch into release branch with a
git merge master - Perform a
npm run build(Just to be sure) - Commit all build's product onto the release branch (it consists of the
focus-components.{js,css}from thedistdirectory). - Create a git tag
git tag -a vX.Y.Z -m 'Focus components vX.Y.Z' - Push the tag on github
git push origin --tags - Publish the npm package with
npm publishcommand - It should be OK
- Go on github release page: Focus-components releases and draft a new release with a release note detailing all the changes and bug fixes.
- Go back on
masterbranch and increase the package version on the latest digit:X.Y.Z+1