mirror of https://github.com/go-gitea/gitea.git
parent
f4fb8dbc87
commit
d6aab069ed
|
@ -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…
Reference in New Issue