From 49667ad4dc6c6d9da9256cc9ff0e56f77cec793c Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Sun, 11 Nov 2018 15:45:54 +0100 Subject: [PATCH] fix tag subcommand --- src/pycalver/vcs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pycalver/vcs.py b/src/pycalver/vcs.py index c233ba3..a5b3c1c 100644 --- a/src/pycalver/vcs.py +++ b/src/pycalver/vcs.py @@ -24,7 +24,7 @@ VCS_SUBCOMMANDS_BY_NAME = { 'push_tag' : "git push {tag}", 'commit' : "git commit --file {path}", 'status' : "git status --porcelain", - 'tag' : "git tag --annotate {version} --message '{version}'", + 'tag' : "git tag --annotate {name} --message '{name}'", 'add_path' : "git add --update {path}", 'ls_tags' : "git tag --list v*", }, @@ -34,7 +34,7 @@ VCS_SUBCOMMANDS_BY_NAME = { 'push_tag' : "hg push {tag}", 'commit' : "hg commit --logfile", 'status' : "hg status -mard", - 'tag' : "hg tag {version} --message '{version}'", + 'tag' : "hg tag {name} --message '{name}'", 'add_path' : "hg add {path}", 'ls_tags' : "hg tags", },