1
0
mirror of https://github.com/drone/drone-cli.git synced 2024-11-23 01:11:57 +01:00

improve how files are tarred

This commit is contained in:
Brad Rydzewski 2015-10-25 02:41:14 -07:00
parent 0d5ecd493d
commit 1fa2b82fcc
2 changed files with 8 additions and 8 deletions

@ -1 +1 @@
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.O6f_U_os8HiGg3bl-0HlUSY0L1g-VgbqLKbFP3zNOhQTpXItHHNmRuLd8gNrEn_hGO1Tl3qnOqJ8DKco1_SRabIpdCeVdTTQxJQUnNjOY_oYbrGtzl4NOQ4gaeo5pyModr4KrWjCjXFwQ5JnlCp9a30-98Grd1zh4P_uDFNMpbyihr5BDMZ4DmlP3iNuYDHpyhZXRyNdffELSURN5Armm9fXaVzS8h0gzAiD2nUoMt_lvZx-bQpaCQKW1sDKuOx3OxUtgypH_vYzzu4pUiVfR30Q5HTIHXM2Gmdh8DGAivJr_C67ODPHWApUZFY6je3PYzhdEd6UaVx60gGGWcSU3g.TIhNeZ3l9uOAz2wD.XC3_vXyfvqWN8q1AZtiOQLGIeWL7QnLX9IAjn5nu5Ci0or5N0YYh09D5EB6GXD6ymDZNXNghp4SfgxQo1tXZn-VFb4KxnYToIE7zc39KbIw4Gwgf_E-xP764wRoAKbG3hH5ukf0iH9Rjy8c6ClTiCf95Z3dpXwuP1QbrqF2whJwUaLUFrhpyNg4g5nHGFFThTS4an_DtDWdnXiPpBszBW9JnG1Wgu2t0U0eXwRjt1euQ9qouSR0_JZxqEfWuknIrcN7jGOe3mJirxrgyBKw7uo0B8SGRFSVNwMYA8oPRyHG_FYU4dvarEl0x5CtYHTus4c8tOWPXbSQ1aeOJJI21rbQm3HL6xI4nH6J5jKCOXCpsIHNvnMQ8DQrtCqFIgbFrLNj0Ig.YpqHoWfZJFoy7E7myf5eZA
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.C-Fn6yfvz5y_MhSNbReqwPPaG4nKkUyY0BZNmm6MT5vJVwaWApFc7DzvsI_TRlowO6a-smtknDVKZaRKWQgC8eHS1MO1yoq004ev2tpH6kAUQLRDR2z3TmLBgdUJxmnwvR3LUSfT2OiWAZ_g4VZKjd-Uk1ME-_8KBIka5yrpVr9UaKX4UdUXLqzen0VR1wCEzkP0wbgyELTV-gCC6jRwyaMS1DR9wAVs5DwoOsKiln8T_D1WKfB1YEuyZ8YqS-fqPq_6D_-ePr00PpsPyGQWUZR0I5Opyz09U4meBy7rcN02joTg9qjPkhoaR4Phu6Di-UcDnYsgsluc9LH6pXiuww.rcGDyHYkjOKWNTXv.hZD7HP5wCM38HfVkgG-VRvmnD-7dF1lXG2wwFKIDZBT5nc5Ef4K8X0SNptQ35smUjI9khMRdz_F0YaA83CJoa3aPDhLpBEa619dXcg71esDvGG5NqoHG_GPUhzZ5iu88ZnPYmyRf7B_ukrH4A0MHIJJtbjDvP1QlFalEPFpnc4g-Y6XOvYTvfoLtzJ7DpRASg2JobKWIl1l2VVL91sY79TtwIUwZBRkRJW_NT1R0zcesFoNkbgZNGsQ7X5onxgsX7WjTVrjOGUU7aWviFrWy4kMfXAly0uxgi9hQRyZoIan55beOPfWcwoTqysEOJD8wrWceP-0u7nLm5BBaTN1q5nBWNrWwpIUNEflPPR6p3czioXOpfp5gj7FAUQxuhZl7pY2rAA.OIWPjWD373JVSUAiUmtAJg

@ -16,13 +16,13 @@ build:
- GOOS=windows GOARCH=amd64 go build -o ./bin/windows_amd64/drone github.com/drone/drone-cli/drone
# tar binary files prior to upload
- mkdir ./dist
- tar -cvzf ./dist/drone_linux_amd64.tar.gz ./bin/linux_amd64/drone
- tar -cvzf ./dist/drone_linux_386.tar.gz ./bin/linux_386/drone
- tar -cvzf ./dist/drone_linux_arm.tar.gz ./bin/linux_arm/drone
- tar -cvzf ./dist/drone_darwin_amd64.tar.gz ./bin/darwin_amd64/drone
- tar -cvzf ./dist/drone_windows_386.tar.gz ./bin/windows_386/drone
- tar -cvzf ./dist/drone_windows_amd64.tar.gz ./bin/windows_amd64/drone
- mkdir dist
- tar -cvzf dist/drone_linux_amd64.tar.gz --directory=bin/linux_amd64 drone
- tar -cvzf dist/drone_linux_386.tar.gz --directory=bin/linux_386 drone
- tar -cvzf dist/drone_linux_arm.tar.gz --directory=bin/linux_arm drone
- tar -cvzf dist/drone_darwin_amd64.tar.gz --directory=bin/darwin_amd64 drone
- tar -cvzf dist/drone_windows_386.tar.gz --directory=bin/windows_386 drone
- tar -cvzf dist/drone_windows_amd64.tar.gz --directory=bin/windows_amd64 drone
# generate shas for tar files
- sha256sum ./dist/drone_linux_amd64.tar.gz > ./dist/drone_linux_amd64.sha256