From 66bcc31b13cdbfa95cdd9c9bb974721409e1e9a8 Mon Sep 17 00:00:00 2001 From: Noel Bundick Date: Fri, 18 Jan 2019 11:49:29 -0800 Subject: [PATCH] Build tarballs to avoid github release conflicts --- azure-pipelines.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fba5b32..19886f3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,9 +27,14 @@ steps: displayName: 'Get dependencies' - script: | - go build -v -o $(Build.ArtifactStagingDirectory)/linux-amd64/azssh - GOOS=darwin go build -v -o $(Build.ArtifactStagingDirectory)/darwin-amd64/azssh - GOOS=windows go build -v -o $(Build.ArtifactStagingDirectory)/windows-amd64/azssh.exe + go build -v -o azssh + tar cvf $(Build.ArtifactStagingDirectory)/azssh-linux-amd64.tar.gz ./azssh + + GOOS=darwin go build -v -o azssh + tar cvf $(Build.ArtifactStagingDirectory)/azssh-darwin-amd64.tar.gz ./azssh + + GOOS=windows go build -v -o azssh.exe + tar cvf $(Build.ArtifactStagingDirectory)/azssh-windows-amd64.tar.gz ./azssh.exe workingDirectory: '$(modulePath)' displayName: 'Build app'