Skip to content

Commit

Permalink
add archives of binaries to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronnie Flathers committed Apr 3, 2019
1 parent 518b9b8 commit 28d2072
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 28d2072

Please sign in to comment.