Commit ca56d9ff authored by Douwe Maan's avatar Douwe Maan

Don't execute GitlabCiService twice for pushed tags.

parent f13567ed
...@@ -10,10 +10,6 @@ class GitTagPushService ...@@ -10,10 +10,6 @@ class GitTagPushService
project.execute_hooks(@push_data.dup, :tag_push_hooks) project.execute_hooks(@push_data.dup, :tag_push_hooks)
project.execute_services(@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 true
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment