From b6a9645b31cb3469a66499a932a48816f82736dd Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 1 Dec 2017 12:24:19 +0800 Subject: [PATCH] fix(drone-server): missing default branch name in metadata. --- server/hook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/hook.go b/server/hook.go index ba81fc4c9..9cf378cb9 100644 --- a/server/hook.go +++ b/server/hook.go @@ -352,6 +352,7 @@ func metadataFromStruct(repo *model.Repo, build, last *model.Build, proc *model. Link: repo.Link, Remote: repo.Clone, Private: repo.IsPrivate, + Branch: repo.Branch, }, Curr: frontend.Build{ Number: build.Number,