To create and publish a release, perform the following steps:
git checkout master
We use semantic versioning. Set the correct "version"
(2.11.0 in the following examples) in package.json.
Commit the change to master.
git add package.json
git commit -m "Set version to 2.11.0"
git push origin master
git branch v2.11.0
git checkout v2.11.0
npm publish
git add -f dist
git commit -m "Add dist for v2.11.0"
git tag -a v2.11.0 -m "2.11.0"
git push --tags origin