From de54b4b19d3b0f9552c3d89e87109352edc6aaf0 Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Fri, 8 May 2020 19:51:33 +0000 Subject: [PATCH] add --follow-tags when doing push --- src/pycalver/vcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pycalver/vcs.py b/src/pycalver/vcs.py index 1a03bc1..5463c0a 100644 --- a/src/pycalver/vcs.py +++ b/src/pycalver/vcs.py @@ -33,7 +33,7 @@ VCS_SUBCOMMANDS_BY_NAME = { 'add_path' : "git add --update {path}", 'commit' : "git commit --file {path}", 'tag' : "git tag --annotate {tag} --message {tag}", - 'push_tag' : "git push origin {tag}", + 'push_tag' : "git push origin --follow-tags {tag}", 'show_remotes': "git config --get remote.origin.url", }, 'hg': {