Merge pull request #3317 from fjl/build-unstable-simplify
build, internal/build: simplify unstable build checks
This commit is contained in:
@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string {
|
||||
}
|
||||
|
||||
func isUnstableBuild(env build.Environment) bool {
|
||||
if env.Branch != "master" && env.Tag != "" {
|
||||
if env.Tag != "" {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
Reference in New Issue
Block a user