Bump version before kicking off new development or when tagging a release, which is better?

Posted by linquize on Programmers See other posts from Programmers or by linquize
Published on 2012-11-03T02:32:39Z Indexed on 2012/11/03 5:24 UTC
Read the original article Hit count: 412

Filed under:
|

Some projects bump version before kicking off a new development, while the other projects bump version when tagging a release.

Which approach is better?

If version number not changed at the start of new phase, the developers may forget to change it and simply release the program.

If version number changed before tagging release, then 2 the version numbers (tag and Makefile/AssemblyInfo.cs) do not match.

git describe may give you v1.2.3.4-15-g1234567 if current revision is after v1.2.3.4, but you have already changed the files to have v1.2.3.5

© Programmers or respective owner

Related posts about version-control

Related posts about versioning