...
Code Block | ||
---|---|---|
| ||
git checkout master
vi VERSION # Or Changelog, or whatever, to bump the version number, etc.
git commit -a -m 'Prepare Release 1.0.0'
git tag -s -m 'Release 1.0.0' 1.0.0
git push origin master 1.0.0 |
If you ever need to go back and tag a particular commit that is not at the tip of your branch (which might be the case if you forgot to do so in the past):
...