summaryrefslogtreecommitdiffstats
path: root/tools/buildsteps/osx64/package
blob: 66db6d3984e1d49814bf3b8f969004c47dfe238f (plain)
1
2
3
4
5
6
7
8
9
10
11
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=osx64
. $WORKSPACE/tools/buildsteps/defaultenv

cd $WORKSPACE/build;make -j$BUILDTHREADS dmg
cd $WORKSPACE/build/tools/darwin/packaging/osx/

#rename for upload
#e.x. kodi-20130314-8c2fb31-Frodo-x86_64.dmg
UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-x86_64.dmg"
mv *.dmg $WORKSPACE/tools/darwin/packaging/osx/$UPLOAD_FILENAME