From 7d299ca6f7caf74fc01e2052b671da2c3db0f80b Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Wed, 2 Dec 2020 08:24:34 -0800 Subject: [PATCH] Add fleetctl.exe.zip to release process (#80) Closes #56 --- Makefile | 5 +++-- docs/development/release.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cdee9e5a9861..01698af01436 100644 --- a/Makefile +++ b/Makefile @@ -225,6 +225,7 @@ binary-bundle: xp-fleet xp-fleetctl cd build/binary-bundle && zip -r fleet.zip darwin/ linux/ windows/ cd build/binary-bundle && mkdir fleetctl-macos && cp darwin/fleetctl fleetctl-macos && tar -czf fleetctl-macos.tar.gz fleetctl-macos cd build/binary-bundle && mkdir fleetctl-linux && cp linux/fleetctl fleetctl-linux && tar -czf fleetctl-linux.tar.gz fleetctl-linux - cd build/binary-bundle && mkdir fleetctl-windows && cp windows/fleetctl.exe fleetctl-windows && tar -czf fleetctl-windows.tar.gz fleetctl-windows - cd build/binary-bundle && shasum -a 256 fleet.zip fleetctl-macos.tar.gz fleetctl-windows.tar.gz fleetctl-linux.tar.gz + cd build/binary-bundle && mkdir fleetctl-windows && cp windows/fleetctl.exe fleetctl-windows && tar -czf fleetctl-windows.tar.gz fleetctl-windows + cd build/binary-bundle && cp windows/fleetctl.exe . && zip fleetctl.exe.zip fleetctl.exe + cd build/binary-bundle && shasum -a 256 fleet.zip fleetctl.exe.zip fleetctl-macos.tar.gz fleetctl-windows.tar.gz fleetctl-linux.tar.gz diff --git a/docs/development/release.md b/docs/development/release.md index 28d73f465d5a..19f933d87b1f 100644 --- a/docs/development/release.md +++ b/docs/development/release.md @@ -38,6 +38,7 @@ Documentation for this release can be found at https://github.com/fleetdm/fleet/ **SHA256** ``` fleet.zip + fleetctl.exe.zip fleetctl-linux.tar.gz fleetctl-macos.tar.gz fleetctl-windows.tar.gz @@ -45,7 +46,7 @@ Documentation for this release can be found at https://github.com/fleetdm/fleet/ ```` -Upload the `fleet.zip` binary bundle along with the `fleetctl-*.tar.gz` for each platform and click "Publish Release". +Upload `fleet.zip`, `fleetctl-*.tar.gz`, and `fleetctl.exe.zip`. Click "Publish Release". 5. Push the new version to Docker Hub (ensure working tree is clean because this will effect the version string built into the binary):