Skip to content

Commit

Permalink
Build tarballs to avoid github release conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
noelbundick committed Jan 18, 2019
1 parent 4765d53 commit 66bcc31
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 66bcc31

Please sign in to comment.