Merge pull request #3268 from fjl/build-master-unstable

build: master is unstable
This commit is contained in:
Jeffrey Wilcke 2016-11-15 14:29:22 +01:00 committed by GitHub
commit ce3c52d17d
1 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@ func maybeSkipArchive(env build.Environment) {
log.Printf("skipping because this is a PR build")
os.Exit(0)
}
if env.Branch != "develop" && !strings.HasPrefix(env.Tag, "v1.") {
if env.Branch != "master" && !strings.HasPrefix(env.Tag, "v1.") {
log.Printf("skipping because branch %q, tag %q is not on the whitelist", env.Branch, env.Tag)
os.Exit(0)
}
@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string {
}
func isUnstableBuild(env build.Environment) bool {
if env.Branch != "develop" && env.Tag != "" {
if env.Branch != "master" && env.Tag != "" {
return false
}
return true