From 28d20721b03e5d88d28f3110eff1af30741e419b Mon Sep 17 00:00:00 2001 From: Ronnie Flathers Date: Wed, 3 Apr 2019 15:14:27 -0500 Subject: [PATCH] add archives of binaries to artifacts --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d99eb6d9..94bc4fd3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,11 @@ jobs: command: | ARCH=$(uname -m) find dist/ -type f -exec mv {} {}_linux_$ARCH \; + - run: + name: Tarball binaries + command: | + tar czf impacket_linux_binaries.tar.gz -C dist/ . + mv impacket_linux_binaries.tar.gz dist/ - run: name: Write version.txt command: | @@ -57,6 +62,11 @@ jobs: name: rename binaries command: | for f in dist/*.exe; do mv "$f" "${f%.*}_windows.${f##*.}"; done + - run: + name: zip binaries + command: | + zip -r impacket_windows_binaries.zip dist/ + mv impacket_windows_binaries.zip dist/ - store_artifacts: path: ./dist - persist_to_workspace: