From af08a1b0f673b647bb397647948e2cce8717897e Mon Sep 17 00:00:00 2001 From: Steven Kang Date: Tue, 4 Jun 2019 14:05:04 +1200 Subject: [PATCH] fix(build-system) - fix Windows build on Azure devops (#2921) * fix(build-system) - add sac2016 tag This is to fix the Windows image build, where MS stopped supporting the `latest` tag * fix(build-system) - use ARG for win multi-arch * fix(build-system) - use ARG for win multi-arch * fix(build-system) - delete unused Dockerfile * fix(build-system) - use ARG for win multi-arch * fix(build-system) - update GOPATH * fix(build-system) - update GOPATH and add debug * Debug * Debug * fix(build-system) - add static tag * fix(build-system) - add static tag * fix(build-system) - revert GOPATH * Debug * Debugging * Debugging * Debugging * Debugging * fix(build-system) - fix binary location * fix(build-system) - enable verbose output * fix(build-system) - Remove relativeTo Options * fix(build-system) - update options * fix(build-system) - Remove Debug --- build/build_binary_devops.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build_binary_devops.ps1 b/build/build_binary_devops.ps1 index 6fb257a61..2e52f299d 100755 --- a/build/build_binary_devops.ps1 +++ b/build/build_binary_devops.ps1 @@ -20,4 +20,4 @@ Set-Location -Path "api\cmd\portainer" go get -t -d -v ./... go build -v -Move-Item -Path "$($binary)" -Destination "dist" +Copy-Item -Path "portainer.exe" -Destination "$($env:BUILD_SOURCESDIRECTORY)\dist\portainer.exe" -Force -ErrorAction:SilentlyContinue