Commit 6663d026 authored by Felix Lange's avatar Felix Lange

build: master is unstable

parent 6e4d623d
...@@ -395,7 +395,7 @@ func maybeSkipArchive(env build.Environment) { ...@@ -395,7 +395,7 @@ func maybeSkipArchive(env build.Environment) {
log.Printf("skipping because this is a PR build") log.Printf("skipping because this is a PR build")
os.Exit(0) 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) log.Printf("skipping because branch %q, tag %q is not on the whitelist", env.Branch, env.Tag)
os.Exit(0) os.Exit(0)
} }
...@@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string { ...@@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string {
} }
func isUnstableBuild(env build.Environment) bool { func isUnstableBuild(env build.Environment) bool {
if env.Branch != "develop" && env.Tag != "" { if env.Branch != "master" && env.Tag != "" {
return false return false
} }
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment