vpkg-project/vpkg

`release` command updates version incorrectly

Closed this issue · 0 comments

I have a package with v.mod contains version set to 0.2.0.

  1. When I run vpkg release --inc patch it sets version to v0.2.00.2.1.
  2. When I run vpkg release --inc minor it sets version to v0.2.00.1.0.
  3. When I run vpkg release --inc major it sets version to v0.2.01.0.0.

I tried to change version in v.mod to other ones (e.g. 1.0.0, 0.0.1, the result is similar).