diff options
author | Felix Lange <fjl@twurst.com> | 2016-11-15 21:11:27 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-11-15 21:11:27 +0800 |
commit | 6663d0264edc364ed8efbb3615e27c2a958b0dda (patch) | |
tree | d29d013fb513e0656e44fb5164ab691c680c73f8 /build/ci.go | |
parent | 6e4d623dc8a3f28331ddba30eb9c01a69faa46e8 (diff) | |
download | dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.tar dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.tar.gz dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.tar.bz2 dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.tar.lz dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.tar.xz dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.tar.zst dexon-6663d0264edc364ed8efbb3615e27c2a958b0dda.zip |
build: master is unstable
Diffstat (limited to 'build/ci.go')
-rw-r--r-- | build/ci.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/ci.go b/build/ci.go index 9d1543ea4..8ddc50a0c 100644 --- a/build/ci.go +++ b/build/ci.go @@ -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 |