Skip to content

Commit

Permalink
build: master is unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Nov 15, 2016
1 parent 6e4d623 commit 6663d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6663d02

Please sign in to comment.