Files @ 234ae2144a25
Branch filter:

Location: ATITD-Tools/Desert-Paint-Lab/publish.sh

jmaltzen
Add a utility function to fetch the app data path (reducing code duplication)
#!/bin/sh

if [ $# -ne 2 ]; then
	echo "Usage: $0 <version> <build name>"
	exit 1
fi

VERSION=$1
BUILD_NAME=$2

mkdir -p publish
# Windows Release build
( cd ./bin/Release ; /usr/bin/zip -r ../../publish/DesertPaintLab_${BUILD_NAME}.zip . -x .DS_Store )

( cd ./mac ; ./build-mac-bundle.sh "${VERSION}" "${BUILD_NAME}" )