teamcity: don't sign binaries on CI

This commit is contained in:
Alexey Shilov
2025-09-15 15:33:18 +02:00
committed by GitHub
parent 49d65b3f40
commit 213eb97e24
2 changed files with 4 additions and 0 deletions

View File

@ -258,6 +258,7 @@ class TestBuild(val os: String, val arch: String, val version: String, buildId:
name = "Test"
path = "_scripts/test_mac.sh"
arguments = "${"go$version"} $arch %system.teamcity.build.tempDir%"
param("env.CI", "true")
}
}
}

View File

@ -130,6 +130,9 @@ This option can only be specified if testset is basic or a single package.`)
}
func checkCert() bool {
if os.Getenv("CI") != "" {
return true
}
if os.Getenv("NOCERT") != "" {
return false
}