1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-11 12:08:21 +00:00

Fix missing branch in release bug (#3108) (#3117)

This commit is contained in:
Ethan Koenig
2017-12-08 00:01:46 -08:00
committed by Lunny Xiao
parent 84352316a9
commit 8f7054a864

View File

@@ -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