- marked as minor
- edited description
Allow explicit setting of individual parts of the version number
Currently, it is only possible to explicitly set the entire version number, which must include all three parts of the version number (major, minor and patch).
It would be a nice addition to be able to explicitly set only a specific part of the version number - i.e. set the major part explicitly with a specific value, but leave the other parts alone but honour the resetting of lower significant parts of the version number to zero.
e.g. stampver -e MAJOR 3 should change a version number of 2.3.0 to 3.0.0
stampver -e MINOR 5 should change a version number of 2.3.6 to 2.5.0
Comments (3)
-
reporter -
reporter Not sure of the usefulness of this feature. Seems that setting an explicit version number, especially across multiple files, is something that you'd want to be consistent - i.e. set all version numbers to 1.2.3 rather than just setting the minor version number to 2 when the major and build/patch versions could be different between different files.
Will put this issue on hold until such a time as it seems worthwhile implementing (or not).
-
reporter - changed status to on hold
Not sure of the usefulness of this feature. Seems that setting an explicit version number, especially across multiple files, is something that you'd want to be consistent - i.e. set all version numbers to 1.2.3 rather than just setting the minor version number to 2 when the major and build/patch versions could be different between different files. Will put this issue on hold until such a time as it seems worthwhile implementing (or not).
- Log in to comment