diff --git a/scripts/release.sh b/scripts/release.sh index 3a23580a91..82bf471084 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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 \ No newline at end of file + +if [ "$1" == "windows-latest" ]; then + 7z a -r starcoin-$1.zip starcoin-artifacts +else + zip -r starcoin-$1.zip starcoin-artifacts +fi \ No newline at end of file