From 8f7054a8645e56575435d66ffa8d82d40620165b Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Fri, 8 Dec 2017 00:01:46 -0800 Subject: [PATCH] Fix missing branch in release bug (#3108) (#3117) --- routers/repo/release.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/release.go b/routers/repo/release.go index da99dd771..a1babbc29 100644 --- a/routers/repo/release.go +++ b/routers/repo/release.go @@ -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