#!/bin/sh if [ $# -ne 2 ]; then echo "Usage: $0 " exit 1 fi VERSION=$1 BUILD_NAME=$2 mkdir -p publish # Windows Release build # NOTE: 32-bit because GTK# doesn't have 64-bit installers ( cd ./bin/x86/Release ; /usr/bin/zip -r ../../../publish/DesertPaintLab_${BUILD_NAME}.zip . -x .DS_Store ) ( cd ./mac ; ./build-mac-bundle.sh "${VERSION}" "${BUILD_NAME}" )