Merge pull request #1131 from Bugagazavr/patch-3

Probe for push tag events
This commit is contained in:
Brad Rydzewski 2015-08-10 00:26:40 -07:00
commit bf87b3146e

View file

@ -184,7 +184,7 @@ func (r *Gitlab) Activate(user *model.User, repo *model.Repo, link string) error
link += "?owner=" + repo.Owner + "&name=" + repo.Name link += "?owner=" + repo.Owner + "&name=" + repo.Name
// add the hook // add the hook
return client.AddProjectHook(path, link, true, false, true) return client.AddProjectHook(path, link, true, false, true, false)
} }
// Deactivate removes a repository by removing all the post-commit hooks // Deactivate removes a repository by removing all the post-commit hooks