forked from nvie/gitflow
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add version number auto-increment support.
'git flow hotfix start' and 'git flow release start' will suggest a new version number based on previous tags in the respository. The respective stop commands will suggest the same version number. Version numbers are in the form [major].[minor].[revision] (eg. 1.3.5). 'hotfix' assumes a revision bump and 'release' assumes a minor bump, but suggestion can be overridden. In addition 'git flow hotfix start 1.0.0' and 'git flow release start 1.0.0' still work as expected.
- Loading branch information
Nickolas Means
committed
May 24, 2011
1 parent
14bcc58
commit fcfecc4
Showing
3 changed files
with
64 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fcfecc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for this as well, though I kinda also like the idea of using "epochs" or something like that, there are times when I just want to do regular releases using the year+month+day+hour+min as a version number.