mirror of
https://gitee.com/gitea/gitea
synced 2026-01-01 05:06:36 +08:00
Fix missing branch in release bug (#3108)
This commit is contained in:
@@ -191,6 +191,7 @@ func NewReleasePost(ctx *context.Context, form auth.NewReleaseForm) {
|
||||
|
||||
rel.Title = form.Title
|
||||
rel.Note = form.Content
|
||||
rel.Target = form.Target
|
||||
rel.IsDraft = len(form.Draft) > 0
|
||||
rel.IsPrerelease = form.Prerelease
|
||||
rel.PublisherID = ctx.User.ID
|
||||
|
||||
Reference in New Issue
Block a user