mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-11 04:31:48 +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)
|
fmt.Println("Unable to obtain download url for the binary", binaryName)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if flag.Lookup("test.v") == nil {
|
if flag.Lookup("test.v") == nil && os.Getenv("CI") == "" {
|
||||||
downloadedBinaryPath := fmt.Sprintf("/tmp/%s", binaryName)
|
downloadedBinaryPath := fmt.Sprintf("/tmp/%s", binaryName)
|
||||||
g := got.New()
|
g := got.New()
|
||||||
err = g.Download(result, downloadedBinaryPath)
|
err = g.Download(result, downloadedBinaryPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user