Skip to content

Commit

Permalink
fix: zip release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
jplomas committed Jul 21, 2019
1 parent 0c01053 commit 7850c1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
command: yarn run make-binaries
- run: cd dist && find . -type f -print0 | xargs -0 shasum -a 256 > ../shasum.256.asc && cd .. && cp shasum.256.asc dist/
- run: sudo npm install -g semantic-release
- run: zip -r qrl-cli-macos.zip dist/macos
- run: zip -r qrl-cli-win.zip dist/win
- run: zip -r qrl-cli-linux.zip dist/linux
- run:
name: "Publish Release on GitHub"
command: semantic-release
Expand Down
6 changes: 3 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"@semantic-release/github",
{
"assets": [
{"path": "dist/macos/qrl-cli", "label": "macOS distribution"},
{"path": "dist/win/qrl-cli.exe", "label": "Windows distribution"},
{"path": "dist/linux/qrl-cli", "label": "Linux distribution"}
{"path": "qrl-cli-macos.zip", "label": "macOS executable"},
{"path": "qrl-cli-win.zip", "label": "Windows executable"},
{"path": "qrl-cli-linux.zip", "label": "Linux executable"}
]
}
]
Expand Down

0 comments on commit 7850c1f

Please sign in to comment.