mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 11:33:13 +00:00
21 lines
432 B
Bash
Executable file
21 lines
432 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
BUILD_DIR=build
|
|
SYM_DIR=sym/Release
|
|
|
|
pushd $BUILD_DIR
|
|
|
|
echo "==> 🚚 Moving dSYM to xcarchive"
|
|
mkdir -p mas.xcarchive/dSYMs/
|
|
mv $SYM_DIR/mas.dSYM mas.xcarchive/dSYMs/
|
|
|
|
echo "==> 🗜️ Compressing mas.xcarchive"
|
|
zip -r mas.xcarchive.zip mas.xcarchive
|
|
|
|
echo "==> ️🗜️ Compressing binary"
|
|
zip -j mas-cli.zip mas.xcarchive/Products/usr/local/bin/mas
|
|
|
|
echo -n "==> 🔢 SHA256: "
|
|
shasum -a 256 mas-cli.zip
|
|
|
|
popd
|