From dcb8fe0ddf9698edb9439802b061d347b7013be5 Mon Sep 17 00:00:00 2001 From: Omer Zidkoni <50792403+omerzi@users.noreply.github.com> Date: Thu, 24 Aug 2023 19:00:56 +0300 Subject: [PATCH] Update buildAndUpload.sh (#458) --- release/buildAndUpload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/buildAndUpload.sh b/release/buildAndUpload.sh index d53ae59b7..41e9b29d3 100755 --- a/release/buildAndUpload.sh +++ b/release/buildAndUpload.sh @@ -9,7 +9,7 @@ build () { exeName="$4" echo "Building $exeName for $GOOS-$GOARCH ..." - CGO_ENABLED=0 jf go build -o "$exeName" -ldflags '-w -extldflags "-static" -X github.com/jfrog/frogbot/utils/utils.FrogbotVersion='$version + CGO_ENABLED=0 jf go build -o "$exeName" -ldflags '-w -extldflags "-static" -X github.com/jfrog/frogbot/utils.FrogbotVersion='$version chmod +x $exeName # Run verification after building plugin for the correct platform of this image.