Skip to content

Commit

Permalink
release: Use 7zip for archive release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
sanlee42 committed Jun 29, 2020
1 parent 5da0670 commit 26af423
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ mkdir -p starcoin-artifacts/
cp -v target/release/starcoin starcoin-artifacts/starcoin
cp -v target/release/starcoin_miner starcoin-artifacts/starcoin_miner
cp -v target/release/faucet starcoin-artifacts/faucet
zip -r starcoin-$1.zip starcoin-artifacts

if [ "$1" == "windows-latest" ]; then
7z a -r starcoin-$1.zip starcoin-artifacts
else
zip -r starcoin-$1.zip starcoin-artifacts
fi

0 comments on commit 26af423

Please sign in to comment.