Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you version your projects? [closed]

I understand that Microsoft uses this template when versioning their products: Major.Minor.Build.Revision.

Major is changed when the "developers" want to show that there is a big change in the software and backward compatibility cannot be assumed. Maybe a major rewrite of the code is done.

Minor number represents a significant enhancement with the intention of backward compatibility.

Build number is a small change, for example a recompilation of the same source.

Revision is used to fix a security hole and should be fully interchangeable. Both Build and Revision are optional. This information is based on MSDN Version Class.

How do you version your projects and why do you version them this way?

like image 821
Fossmo Avatar asked Sep 26 '08 22:09

Fossmo


1 Answers

We generally do major.minor[.maintenance[.build]] where I work, but it seems to vary a little per project.

Major/minor the same as you mentioned. maintenance would be incremented for small (bug) fixes and build for each time the build server runs.

like image 98
Max Stewart Avatar answered Sep 19 '22 15:09

Max Stewart