I work on a project in a team of 6 or 7 people and we use git for CVS.
When we make releases, we put master in this current state (after completion of branch merging) and use this tag for deployment.
The tag scheme we use is [project version]. [tag number]. [year-month-date] [number of tags released today].
For example, the project is version 5.0 of the website, and the tag runs today, so the tag will look like this:
5.0.85.2014020601
The project has been working for more than a year, so when we make the "git tag", we get a huge list of tags that are not all numerically ordered, so it’s difficult to understand what tag number we should give the release, and it is often messed up.
In any case, can we provide a consistent tag scheme without having to write any scripts or an easy way to generate tag numbers for us?
Our remote repository is hosted on the gitlab server we are running, and we are all working on Linux environments.
Thanks in advance.
source
share