Git - Release Tagging
Updated at 2017-04-14 13:44
Check what is the latest tag in your project:
git checkout master
git pull
git tag
Tagging master
branch for release:
git checkout master
# edit any files that contain the version number
git add .
git commit -m "Become v0.1.0"
git tag -a v0.1.0 -m v0.1.0
git push --follow-tags
And if you have a separate release
branch:
git checkout release
git merge master
git push --follow-tags