From 107d02b74c89b5278bedf89dd6c5d9bd4842e9f7 Mon Sep 17 00:00:00 2001 From: Geoff Franks Date: Tue, 27 Sep 2022 19:02:09 +0000 Subject: [PATCH] Add buildvcs=false to all windows package compilation --- packages/guardian-windows/packaging | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/guardian-windows/packaging b/packages/guardian-windows/packaging index 5afa2939..aa96b5b5 100644 --- a/packages/guardian-windows/packaging +++ b/packages/guardian-windows/packaging @@ -19,12 +19,12 @@ if ($LASTEXITCODE -ge 8) { . C:\var\vcap\packages\golang-*-windows\bosh\compile.ps1 Push-Location guardian -go.exe build -mod vendor -o "${BOSH_INSTALL_TARGET}\gdn.exe" -ldflags "-X main.version=${gdn_version}" ".\cmd\gdn" +go.exe build -buildvcs=false -mod vendor -o "${BOSH_INSTALL_TARGET}\gdn.exe" -ldflags "-X main.version=${gdn_version}" ".\cmd\gdn" if ($LASTEXITCODE -ne 0) { Write-Error "Error compiling: cmd\gdn" } -go.exe build -mod vendor -o "${BOSH_INSTALL_TARGET}\winit.exe" ".\cmd\winit" +go.exe build -buildvcs=false -mod vendor -o "${BOSH_INSTALL_TARGET}\winit.exe" ".\cmd\winit" if ($LASTEXITCODE -ne 0) { Write-Error "Error compiling: cmd\winit" }