feat: support branches as GITHUB_REF

This commit is contained in:
Carlos Alexandro Becker committed 2019-05-23 00:05:14 -03:00
1 parent f2cb9e391e
commit 03d57a80c9
2 files changed
+44 -16

No files matched your search

+1 -1
View File
@@ -199,9 +199,9 @@ func (runner *runnerImpl) applyEnvironment(env map[string]string) {
if err != nil {
log.Warningf("unable to get git ref: %v", err)
} else {
log.Infof("using github ref: %s", ref)
env["GITHUB_REF"] = ref
}
}
func (runner *runnerImpl) createGithubTarball() (io.Reader, error) {