flip create/delete tag detection logic
This commit is contained in:
parent
a4fbc150c8
commit
31531949ce
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class GitLab(object):
|
|||
return hash[:8]
|
||||
|
||||
def tag_push(self, full_name, data):
|
||||
create = data["after"].strip("0")==""
|
||||
create = not data["after"].strip("0") == ""
|
||||
tag = utils.irc.color(data["ref"].rsplit("/", 1)[-1],
|
||||
colors.COLOR_BRANCH)
|
||||
author = utils.irc.bold(data["user_username"])
|
||||
|
|
Loading…
Reference in a new issue