Which have 3 cases: 1. if the commit version is consistent with the tag, then use the tag 2. If the revision (小版本) is not 0, and commit have some history, then new version will be x.x.x+1+devxxxxxxxx. 3. if the revision is 0, them the stage 中版本,will increase by 1 and the dev string will be added.
The version control is achieved by:
Which have 3 cases: 1. if the commit version is consistent with the tag, then use the tag 2. If the revision (小版本) is not 0, and commit have some history, then new version will be x.x.x+1+devxxxxxxxx. 3. if the revision is 0, them the stage 中版本,will increase by 1 and the dev string will be added.
to get the version number