Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Second stab at fixing the version command in build.sh (#1762)
* Make sure GOOS=linux and GOARCH=amd64 for version cmd. The commit forces the version command to run with GOOS=linux and GOARCH=amd64. The version command was failing to run properly when cross-compiling to Mac OS and Windows, since the environment variables were causing the binary produced to not be executable on Travis CI. Closes #1759 Signed-off-by: Eric Chlebek <[email protected]> * Don't pass cross-compile env vars to VERSION_CMD. Signed-off-by: Eric Chlebek <[email protected]>
- Loading branch information