0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 02:04:17 +01:00

Fix new release from tags list UI (#19670)

This commit is contained in:
Lunny Xiao 2022-05-10 20:41:37 +08:00 committed by GitHub
parent 65ccff54ef
commit 64a40962cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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