Don't execute GitlabCiService twice for pushed tags.

This commit is contained in:
Douwe Maan
2015-03-03 11:14:32 +01:00
parent f13567edc4
commit ca56d9ff9f
-4
View File
@@ -10,10 +10,6 @@ class GitTagPushService
project.execute_hooks(@push_data.dup, :tag_push_hooks)
project.execute_services(@push_data.dup, :tag_push_hooks)
if project.gitlab_ci?
project.gitlab_ci_service.async_execute(@push_data)
end
true
end