1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-10 00:58:37 +00:00

improve build.sh

This commit is contained in:
Toxblh 2018-04-16 01:17:19 +01:00
parent ee49e94c73
commit 91ceea564e

View File

@ -17,3 +17,7 @@ rm -r App.xcarchive
# Prerequisite: npm i -g create-dmg
create-dmg "${NAME}.app"
VERSION=`mdls -raw -name kMDItemVersion MTMR.app`
echo $VERSION
zip -r "${NAME}v${VERSION}.zip" "${NAME}.app"