sonatype-nexus-community / nancy

A tool to check for vulnerabilities in your Golang dependencies, powered by Sonatype OSS Index
Apache License 2.0
564 stars 74 forks source link

Fix for CGO_ENABLED=0 some times not working on release artifacts #56

Closed zendern closed 4 years ago

zendern commented 4 years ago

Fix CGO_ENABLED=0 artifact some times being release.

See here https://docs.travis-ci.com/user/environment-variables/#defining-multiple-variables-per-item

To have these not spin up multiple builds you must define them all on the same line. When they are multiple builds it is a crapshoot as far as which one gets released b/c its first one wins and that is not consistent. See comment in #32 that shows screenshots of why build 33 worked and then build 34 did not work.

It relates to the following issue #s:

@bhamail / @DarthHater