forked from cerc-io/plugeth
build: master is unstable
This commit is contained in:
parent
6e4d623dc8
commit
6663d0264e
@ -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 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user