cpp-semver icon indicating copy to clipboard operation
cpp-semver copied to clipboard

API to increase/decrease the version number

Open tanpero opened this issue 6 years ago • 1 comments

Hello! I need to increase the version number of a particular part, but there seems to be no API in the library can do such things. Can it be implemented? ;-D

tanpero avatar Nov 09 '19 13:11 tanpero

Hi @tanpero sorry for the very late reply. Yes, it could be done.

It can be also done with semver::major( version ), semver::minor( version ), semver::patch( version ) APIs to reconstruct new version string.

easz avatar Dec 10 '21 11:12 easz