freeminer/build/osx/update_zip.sh
2014-12-03 21:33:08 +03:00

14 lines
278 B
Bash
Executable File

#!/bin/sh
# Create an updated ZIP file from freeminer.app folder
cd freeminer-git
gitver=`git log -1 --format='%cd.%h' --date=short | tr -d -`
cd ../releases
# Compress app bundle as a ZIP file
fname=freeminer-osx-bin-$gitver.zip
rm -f $fname
zip -9 -r $fname freeminer.app