Skip to content

Commit

Permalink
ci: put archive in separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
chesedo committed Nov 22, 2022
1 parent 3babcb3 commit 5c0490b
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,12 @@ commands:
- run:
name: Make artifact
command: |
mkdir shuttle
mv target/<< parameters.target >>/release/cargo-shuttle<< parameters.suffix >> shuttle/shuttle<< parameters.suffix >>
mv LICENSE shuttle/
mv README.md shuttle/
mkdir artifacts
mv target/<< parameters.target >>/release/cargo-shuttle<< parameters.suffix >> artifacts/shuttle<< parameters.suffix >>
mv LICENSE artifacts/
mv README.md artifacts/
7z a -ttar -so -an artifacts | 7z a -si artifacts/shuttle-${CIRCLE_TAG}-<< parameters.target >>.tar.gz
7z a -ttar -so -an shuttle | 7z a -si artifacts/shuttle-${CIRCLE_TAG}-<< parameters.target >>.tar.gz
- persist_to_workspace:
root: artifacts
paths:
Expand Down Expand Up @@ -422,20 +423,20 @@ workflows:
# only: /^v.*/
# branches:
# only: production
- build-binaries-mac
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
# - build-binaries-mac:
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
- publish-github-release:
requires:
# - build-binaries-x86_64
# - build-binaries-aarch64
- build-binaries-windows
- build-binaries-mac
# - build-binaries-mac
# filters:
# tags:
# only: /^v.*/
Expand Down

0 comments on commit 5c0490b

Please sign in to comment.