summaryrefslogtreecommitdiffstats
path: root/tools/buildsteps/tvos/package
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps/tvos/package')
-rwxr-xr-xtools/buildsteps/tvos/package11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/buildsteps/tvos/package b/tools/buildsteps/tvos/package
new file mode 100755
index 0000000..2318af2
--- /dev/null
+++ b/tools/buildsteps/tvos/package
@@ -0,0 +1,11 @@
+WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
+XBMC_PLATFORM_DIR=tvos
+. $WORKSPACE/tools/buildsteps/defaultenv
+
+cd $WORKSPACE/build/tools/darwin/packaging/darwin_embedded/
+
+#rename for upload
+#e.x. kodi-20130314-8c2fb31-Frodo-tvos.deb
+UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-tvos.deb"
+mkdir $WORKSPACE/tools/darwin/packaging/tvos
+mv *.deb $WORKSPACE/tools/darwin/packaging/tvos/$UPLOAD_FILENAME