From b969b46c610d6eb3740f52ef69318de30699cd96 Mon Sep 17 00:00:00 2001 From: Casey Boettcher Date: Tue, 13 Dec 2022 16:10:44 -0500 Subject: [PATCH] Adding build flag to avoid https://github.com/golang/go/issues/53640 in pre-1.20 go --- scripts/build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-release.sh b/scripts/build-release.sh index 3ea68a3..e49b352 100755 --- a/scripts/build-release.sh +++ b/scripts/build-release.sh @@ -35,6 +35,6 @@ for architecture in amd64 arm64; do -e "GOARCH=${architecture}" \ -e "CGO_ENABLED=0" \ gorson_builder \ - go build -o "bin/$binary_name" + go build -buildvcs=false -o "bin/$binary_name" done done