Merge pull request #3317 from fjl/build-unstable-simplify

build, internal/build: simplify unstable build checks
This commit is contained in:
Péter Szilágyi
2016-11-23 12:24:28 +02:00
committed by GitHub
4 changed files with 15 additions and 10 deletions

View File

@ -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