1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 10:48:37 +00:00

Fix new release from tags list UI (#19670) (#19673)

This commit is contained in:
Lunny Xiao
2022-05-11 04:55:28 +08:00
committed by GitHub
parent f4fb8dbc87
commit d6aab069ed

View File

@@ -279,7 +279,9 @@ func NewRelease(ctx *context.Context) {
}
ctx.Data["tag_name"] = rel.TagName
if rel.Target != "" {
ctx.Data["tag_target"] = rel.Target
}
ctx.Data["title"] = rel.Title
ctx.Data["content"] = rel.Note
ctx.Data["attachments"] = rel.Attachments