autotag icon indicating copy to clipboard operation
autotag copied to clipboard

Support of `v`-prefixed tags?

Open urigeva93 opened this issue 1 year ago • 3 comments

Hey,

Are v-prefixed tags supported? With a little experiment I did (with the latest version of autotag), this didn't seem to work for me: My latest tag was v1.0.4, so I'd expect my next (patch) tag would be v1.0.5. From some reason, I've got 1.0.5 (without v):

❯ git describe --abbrev=0 --tags
v1.0.4

and when running autotag:

❯ ./bin/autotag -n
1.0.5

I even saw there is a flag that let you disable it (-e, --empty-version-prefix Do not prepend v to version tag), so that hints it should work by default, no?

Is it on purpose? If yes, what am I doing wrong and how can I config it to work with v-prefixed tags?

Thanks!

urigeva93 avatar Oct 13 '22 12:10 urigeva93