Generate builds when creating tag using web interface

This commit is contained in:
Kamil Trzcinski 2016-01-11 12:34:58 +01:00
parent 5270cc6958
commit 31b66aa75e
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ v 8.3.3 (unreleased)
- Enable "Add key" button when user fills in a proper key (Stan Hu)
- Fix error in processing reply-by-email messages (Jason Lee)
- Fix Error 500 when visiting build page of project with nil runners_token (Stan Hu)
- Fix regression when builds were not generated for tags created through web/api interface
v 8.3.2
- Change single user API endpoint to return more detailed data (Michael Potthoff)

View File

@ -23,6 +23,7 @@ class CreateTagService < BaseService
EventCreateService.new.push(project, current_user, push_data)
project.execute_hooks(push_data.dup, :tag_push_hooks)
project.execute_services(push_data.dup, :tag_push_hooks)
CreateCommitBuildsService.new.execute(project, current_user, push_data)
if release_description
CreateReleaseService.new(@project, @current_user).