mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 21:10:24 +00:00
26 lines
466 B
Bash
Executable file
26 lines
466 B
Bash
Executable file
#!/bin/bash -e
|
|
#
|
|
# script/archive
|
|
# mas
|
|
#
|
|
# Compresses artifacts so the can be archived more easily.
|
|
#
|
|
|
|
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
|