Please use git flow cheatsheet as a reference.
Currently we are using following patterns for tag names:
- release: x.x.x
- hotfix: x.x.x-hotfix-x
After finishing release or hotfix (with git flow command), please make sure you are pushed tag as well.
You can use git push --follow-tags
to push commits and tags at once or git push --tags
to push only tags.
Please check tag presence in origin
Let's assume we decided to use 3.1.0-hotfix-1 as hotfix tag
git flow hotfix start 3.1.0-hotfix-1
... add some commits ...
git flow hotfix finish 3.1.0-hotfix-1
(it will merge hotfix branch to master and develop and then will ask for short description of a tag)
git push --follow-tags
(on master)
git push
(on develop)