final-israel / vmn

Automatic version management and state recovery solution for any application agnostic to language or architecture
GNU General Public License v3.0
62 stars 11 forks source link

Remove the dot before rcn in cone.yaml's template doesn't actually affect the tag #149

Closed emikitas closed 1 year ago

emikitas commented 1 year ago

When remove the '.' preceding rcn in van's default template, vmn stamp will print to stdout a version tag that looks like the '.' was removed. However, the dot is still present in the actual git tag. Recreated with version 0.8.5. Steps to reproduce: In the apps conf.yml, edit the 'template' field: '[{major}][.{minor}][.{patch}][.{hotfix}][-{prerelease}][.{rcn}][+{buildmetadata}]' -> '[{major}][.{minor}][.{patch}][.{hotfix}][-{prerelease}][{rcn}][+{buildmetadata}]' vmn stamp --pr dev -r minor coolapp

vmn will then output something like: [INFO] 0.1.0-dev1

However, the (git) tagged version will look like this: coolapp_0.1.0-dev.1

emikitas commented 1 year ago

Nevermind, this is the intended behavior.