mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-09 23:09:24 +00:00
Enable update testing on the CI platform.
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ func updatePackage() bool {
|
||||
fmt.Println("Unable to obtain download url for the binary", binaryName)
|
||||
return false
|
||||
}
|
||||
if flag.Lookup("test.v") == nil {
|
||||
if flag.Lookup("test.v") == nil && os.Getenv("CI") == "" {
|
||||
downloadedBinaryPath := fmt.Sprintf("/tmp/%s", binaryName)
|
||||
g := got.New()
|
||||
err = g.Download(result, downloadedBinaryPath)
|
||||
|
||||
Reference in New Issue
Block a user