summaryrefslogtreecommitdiff
path: root/app/services/releases
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/releases')
-rw-r--r--app/services/releases/create_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/releases/create_service.rb b/app/services/releases/create_service.rb
index 73fcebf79af..1590d9137cc 100644
--- a/app/services/releases/create_service.rb
+++ b/app/services/releases/create_service.rb
@@ -43,7 +43,8 @@ module Releases
description: description,
author: current_user,
tag: tag.name,
- sha: tag.dereferenced_target.sha
+ sha: tag.dereferenced_target.sha,
+ links_attributes: params[:links_attributes] || []
)
success(tag: tag, release: release)