summaryrefslogtreecommitdiff
path: root/scripts/publish-macosx.sh
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-01-13 18:46:36 (GMT)
committerMarius Kintel <marius@kintel.net>2013-01-13 18:46:36 (GMT)
commita1da6b2aded1c930a5ffdb5ecdbee708aefea243 (patch)
treecd326a3cbeb3ac27a491557b3bc2b914fddd84bf /scripts/publish-macosx.sh
parent51d8350113ece0d80ae92aeec1d9f99ac5021b65 (diff)
Moved Mac download site from github to google code
Diffstat (limited to 'scripts/publish-macosx.sh')
-rwxr-xr-xscripts/publish-macosx.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh
index a2ded8a..b0cf3a5 100755
--- a/scripts/publish-macosx.sh
+++ b/scripts/publish-macosx.sh
@@ -6,6 +6,7 @@
if test -z "$VERSION"; then
VERSION=`date "+%Y.%m.%d"`
COMMIT=-c
+ SNAPSHOT=true
fi
# Turn off ccache, just for safety
@@ -24,10 +25,11 @@ echo "Sanity check of the app bundle..."
if [[ $? != 0 ]]; then
exit 1
fi
-cp OpenSCAD-$VERSION.dmg ~/Dropbox/Public
-ln -sf OpenSCAD-$VERSION.dmg ~/Dropbox/Public/OpenSCAD-latest.dmg
-echo "Upload in progress..."
+echo "Uploading..."
+LABELS=OpSys-OSX,Type-Executable
+if ! $SNAPSHOT; then LABELS=$LABELS,Featured; fi
+`dirname $0`/googlecode_upload.py -s 'Mac OS X Snapshot' -p openscad OpenSCAD-$VERSION.dmg -l $LABELS
# Update snapshot filename on wab page
`dirname $0`/update-web.sh OpenSCAD-$VERSION.dmg
contact: Jan Huwald // Impressum