Skip to content

Commit 05051fe

Browse files
committed
Ability to force-push tags
1 parent ad194ab commit 05051fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66

77
@task
8-
def tag(ctx):
8+
def tag(ctx, force=False):
99
"""
1010
Creates git tag from the current tree
1111
"""
1212
version = get_version()
1313
tag_name = "v{}".format(version)
14-
tag_project(tag_name, PROJ_ROOT)
14+
tag_project(tag_name, PROJ_ROOT, force=force)

0 commit comments

Comments
 (0)