diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-24 16:29:41 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-03 13:14:32 +0300 |
commit | ca56d9ff9ff8b28172d5e3dae7e09b77e2e6b835 (patch) | |
tree | 25a365749417e57759b52a86bd664ff723bdbbfa /app/services/git_tag_push_service.rb | |
parent | f13567edc4b9ce68179d12562a711540c8994206 (diff) |
Don't execute GitlabCiService twice for pushed tags.
Diffstat (limited to 'app/services/git_tag_push_service.rb')
-rw-r--r-- | app/services/git_tag_push_service.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/git_tag_push_service.rb b/app/services/git_tag_push_service.rb index 5fd8f642fad..725ef01ff23 100644 --- a/app/services/git_tag_push_service.rb +++ b/app/services/git_tag_push_service.rb @@ -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 |