Fix new release from tags list UI (#19670)

tokarchuk/v1.17
Lunny Xiao 3 years ago committed by GitHub
parent 65ccff54ef
commit 64a40962cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      routers/web/repo/release.go

@ -279,7 +279,9 @@ func NewRelease(ctx *context.Context) {
} }
ctx.Data["tag_name"] = rel.TagName 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["title"] = rel.Title
ctx.Data["content"] = rel.Note ctx.Data["content"] = rel.Note
ctx.Data["attachments"] = rel.Attachments ctx.Data["attachments"] = rel.Attachments

Loading…
Cancel
Save