Merge pull request #2274 from appleboy/bugs

fix(drone-server): missing default branch name in metadata.
This commit is contained in:
Brad Rydzewski 2017-12-06 13:43:20 -08:00 committed by GitHub
commit 1db7bde877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,6 +358,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,