diff --git a/git-flow b/git-flow index 2b52804..085c9d8 100755 --- a/git-flow +++ b/git-flow @@ -327,7 +327,7 @@ def tag_command(): message = output[pos+1:] merged_branch = None - output = Git("describe", commit, tags=True, exact_match=True).firstline() + output = Git("describe", commit, tags=True, exact_match=True).without_checking().firstline() if output: print_error("El ultimo merge ya tiene tag: " + output) @@ -345,7 +345,7 @@ def tag_command(): remote = Git.flow_config("flow.remote").firstline() branch = Git.get_current_branch() - output = Git("describe", abbrev="0", tags=True).firstline() + output = Git("describe", abbrev="0", tags=True).without_checking().firstline() last_version = output if output else "v1.0.0" from_major = 1 until_dash = last_version.index("-") if "-" in last_version else None