How often do you tag in Git?

user6398538

This might be a theoretical question or case to case basis but I am wondering how often do you tag in Git.

Here's a scenario:

I was working on a simple forum app (a rails app).

First, I set up the database and properly run it on port 3000. At this point do I tag it as git tag -a v1.1 -m "Set up Rails db and environment" of my app? or should I do something more to call it Version 1?

Next, I migrated the person model with its' data. At this point should I tag it again like: git tag -a v1.1 -m "Added person model" or do I need to do something more and have something more on the frontend (like a adding a forum text on the front end feature) before tagging it as a tag version?

And this can go on and on adding the little and big stuffs...

Sorry I am confuse I just want to understand how in the real world developers are using the tags properly. I basically thought that if every little things I've added on the app are tagged they are most likely like commits?

Thanks for the people who will share their thoughts.

GokuMizuno

How my company does it:

V1 is "feature complete". It does everything the program needs to do, per the spec. (Feature creep is reserved for later versions.)

0.X, where X is the major number, is for stable builds. It may be bug free (ha!), it may not, but it builds.

0.X.Y, where Y is the minor number, is for bug fixes, or defined biweekly releases that are not large enough for a stable build number. (Think font changes.)

V2.X.Y and up is for feature creep, to be implemented after the client has paid for it, and approved it.

Another client wanted his numbers to be week based. Even numbers were internal for bug testing, and odd was for consumers. Version numbers were the year, majors were for week in the year, etc.

This is not a strict guideline, as other requirements will alter numbers. Different platforms may require different things, which can lead to a divergence in version numbers. Pokemon GO has different version numbers for their Android and iPhone builds, as afaik, iTunes apps must be greater than 1.0

Ultimately, it is up to you to decide what you want to do.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related