mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
20 lines
378 B
Bash
Executable file
20 lines
378 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
pushd build
|
|
|
|
echo "==> 🗜️ Compressing mas.xcarchive"
|
|
zip -r mas.xcarchive.zip mas.xcarchive
|
|
|
|
echo "==> ️🗜️ Compressing binary and framework"
|
|
pushd mas.xcarchive/Products
|
|
zip -r \
|
|
mas-cli.zip \
|
|
bin/mas \
|
|
Frameworks/MasKit.framework
|
|
mv mas-cli.zip ../../
|
|
popd
|
|
|
|
echo "==> 🔢 Files Hashes"
|
|
shasum -a 256 mas-cli.zip mas.xcarchive.zip
|
|
|
|
popd
|