Commit 1a8ed361 authored by Mikołaj Wawrzyniak's avatar Mikołaj Wawrzyniak

Merge branch...

Merge branch '336889-nameerror-undefined-local-variable-or-method-deprecate_release_notes-for-class' into 'master'

Fix creating tags in API with release_descriptions passed

See merge request gitlab-org/gitlab!67011
parents ecf979f0 f1b417c4
...@@ -59,8 +59,6 @@ module API ...@@ -59,8 +59,6 @@ module API
optional :message, type: String, desc: 'Specifying a message creates an annotated tag' optional :message, type: String, desc: 'Specifying a message creates an annotated tag'
end end
post ':id/repository/tags', :release_orchestration do post ':id/repository/tags', :release_orchestration do
deprecate_release_notes unless params[:release_description].blank?
authorize_admin_tag authorize_admin_tag
result = ::Tags::CreateService.new(user_project, current_user) result = ::Tags::CreateService.new(user_project, current_user)
......
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