Skip to content

Commit

Permalink
add step to compress before publishing artifacts to appveyor
Browse files Browse the repository at this point in the history
add step to compress before publishing artifacts to appveyor
  • Loading branch information
syamgk committed Nov 22, 2018
1 parent b21872d commit 395240d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,19 @@ test_script:
build_script:
- make cross

after_test:
- ps : 7z a -tgzip odo-linux-amd64.gz dist\bin\linux-amd64\odo
- ps : 7z a -tgzip odo-linux-arm.gz dist\bin\linux-arm\odo
- ps : 7z a -tgzip odo-darwin-amd64.gz dist\bin\darwin-amd64\odo
- ps : 7z a -tgzip odo-windows-amd64.gz dist\bin\windows-amd64\odo.exe


artifacts:
- path: dist\bin\linux-amd64\odo
- path: odo-linux-amd64.gz
name: Linux-amd64 binary
- path: dist\bin\linux-arm\odo
- path: odo-linux-arm.gz
name: Linux-arm binary
- path: dist\bin\darwin-amd64\odo
- path: odo-darwin-amd64.gz
name: OS-X binary
- path: dist\bin\windows-amd64\odo.exe
- path: odo-windows-amd64.gz
name: Windows-amd64 binary

0 comments on commit 395240d

Please sign in to comment.