Skip to content

Commit

Permalink
Merge pull request #1696 from simonbaird/fix-goos-gooarch-for-konflux…
Browse files Browse the repository at this point in the history
…-builds

Fix Konflux build platform arch (main branch)
  • Loading branch information
simonbaird authored Jun 13, 2024
2 parents 9f89d87 + d62ea87 commit 6aee3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ for os_arch in ${BUILDS}; do
[[ "$GOOS" == "windows" ]] && DOT_EXE=".exe" || DOT_EXE=""
BINFILE="ec_${GOOS}_${GOARCH}${DOT_EXE}"
echo "Building ${BINFILE} for ${EC_FULL_VERSION}"
go build \
GOOS="${GOOS}" GOARCH="${GOARCH}" go build \
-trimpath \
--mod=readonly \
-ldflags="-s -w -X github.com/enterprise-contract/ec-cli/internal/version.Version=${EC_FULL_VERSION}" \
Expand Down

0 comments on commit 6aee3bf

Please sign in to comment.