We have a C++ project, which has hundreds of SVN revisions every month. Sometimes we need to increment a minor digit in a version number, changing it from, say, 1.6 to 1.7. We do it once per month approximately. What is a correct approach to do it? We want to save/maintain information about changes made in every new version, and we want to have some sort of release notes. Please, give us some suggestions or links. Thanks!
ps. Sorry if the question is too vague.
pps. I see that I need to clarify the question a bit. I'm not interested about how should I name versions. I'm interested how technically I should maintain version numbers in C++ code.
I use this system for all of the software that I write:
1.2.3.4
Lastly, I use the following suffixes to denote prerelease builds:
Suffixes can be followed by a number to indicate which revision of the prerelease build the package is. For instance:
1.2.3.4b2
would be considered the second beta.
Also, when writing versions, trailing zeros can be eliminated. i.e.: 1.0.0.0
could be written as 1.0
.
Hopefully this is somewhat useful. I've found that it helps keep things organized and maintains some semblance of order in my archives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With