Skip to content

Commit

Permalink
Set buildvcs=false to fix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbirkisson committed Aug 25, 2023
1 parent b8f304a commit 16634a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/bin/build-raw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ f_ver="-X ${version_path}=${VERSION:-dev}"

# Build binary.
echo "[*] Building binary at ${final_out} (GOOS=${GOOS:-}, GOARCH=${GOARCH:-}, GOARM=${GOARM:-}, VERSION=${VERSION:-}, EXTENSION=${EXTENSION:-})"
CGO_ENABLED=0 go build -o ${final_out} --ldflags "${ldf_cmp} ${f_ver}" ${src}
CGO_ENABLED=0 go build -o ${final_out} --ldflags "${ldf_cmp} ${f_ver}" -buildvcs=false ${src}

0 comments on commit 16634a2

Please sign in to comment.