Skip to content

Commit

Permalink
Fix new release from tags list UI (go-gitea#19670)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and AbdulrhmnGhanem committed Aug 23, 2022
1 parent da91c8a commit c16f218
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routers/web/repo/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ func NewRelease(ctx *context.Context) {
}

ctx.Data["tag_name"] = rel.TagName
ctx.Data["tag_target"] = rel.Target
if rel.Target != "" {
ctx.Data["tag_target"] = rel.Target
}
ctx.Data["title"] = rel.Title
ctx.Data["content"] = rel.Note
ctx.Data["attachments"] = rel.Attachments
Expand Down

0 comments on commit c16f218

Please sign in to comment.