1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=osx64
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 cd $WORKSPACE/build;make -j$BUILDTHREADS dmg
6 cd $WORKSPACE/build/tools/darwin/packaging/osx/
9 #e.x. kodi-20130314-8c2fb31-Frodo-x86_64.dmg
10 UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-x86_64.dmg"
11 mv *.dmg $WORKSPACE/tools/darwin/packaging/osx/$UPLOAD_FILENAME