So to start you have a new feature implemented on a branch.
After code review and QA testing, you merge the branch into master.
# To create the release tag, checkout the master branch
git checkout master
git pull
git fetch --all
# Shows latest tagged version
git tag | tail -1
# [email protected]
# Create the tag (like a branch but can't be updated)
# Make sure to increment the version number by hand
git tag [email protected]
# Checkout the tag
git checkout [email protected]
# Push the tagged release
git push origin [email protected]