nbgv tag command does not respect tagName setting
Closed this issue · 2 comments
DmitryZhelnin commented
nbgv tag
command always uses default setting "tagName" : "v{version}"
and ignores any user defined patterns.
AArnott commented
You have to commit your version.json
change before it applies. I can only repro your bug report if I haven't committed the change to tagName
that I expect to see.
PS C:\Users\andarno\source\repos\Nerdbank.GitVersioning> nbgv tag
v3.7.0-alpha tag created at 2b6b66ab90b84cd2689e8dcffc6060919d2b0255.
Remember to push to a remote: git push origin v3.7.0-alpha
PS C:\Users\andarno\source\repos\Nerdbank.GitVersioning> git commit -am "change tag"
[detached HEAD 2d2e5c1a] change tag
1 file changed, 1 insertion(+)
PS C:\Users\andarno\source\repos\Nerdbank.GitVersioning> nbgv tag
begin3.7.71-alphaend tag created at 2d2e5c1a30638bfc7df37aad96cf9e683646b931.
Remember to push to a remote: git push origin begin3.7.71-alphaend
DmitryZhelnin commented
Thank you for the reply. Turns out I had an old version of nbgv tool installed globally.