- Decide upon the next version of your release.
NOTE: We don't store the version in
bower.json
(since they pull from the latest published tag), but we do put it inpackage.json
-
Edit the
package.json
file, and update the version based on your decision in 1, but do not commit it. -
Follow the steps below to publish a release to GitHub.
NOTE: This works for either the
master
ordevelop
branches. In general, we try to release stable frommaster
, but of course you could maintain a separate major or minor release from thedevelop
branch.
git add package.json
git add -f out/*
git checkout head
git commit -m "Version {version} for distribution"
git tag -a v{version} -m "Add tag v{verson}"
git checkout master
git push origin --tags
NOTE: You may wish to exclude the tests.js file from the above; in that case, substitute the following for line 2:
git add -f out/editableCell.*