We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f89d87 + d62ea87 commit 6aee3bfCopy full SHA for 6aee3bf
1 file changed
build.sh
@@ -35,7 +35,7 @@ for os_arch in ${BUILDS}; do
35
[[ "$GOOS" == "windows" ]] && DOT_EXE=".exe" || DOT_EXE=""
36
BINFILE="ec_${GOOS}_${GOARCH}${DOT_EXE}"
37
echo "Building ${BINFILE} for ${EC_FULL_VERSION}"
38
- go build \
+ GOOS="${GOOS}" GOARCH="${GOARCH}" go build \
39
-trimpath \
40
--mod=readonly \
41
-ldflags="-s -w -X github.com/enterprise-contract/ec-cli/internal/version.Version=${EC_FULL_VERSION}" \
0 commit comments