mas/script/archive

21 lines
378 B
Text
Raw Normal View History

2019-01-03 23:30:33 +00:00
#!/bin/bash -e
2018-10-17 03:45:07 +00:00
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