diff options
author | Marius Kintel <marius@kintel.net> | 2013-01-17 14:58:54 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-01-17 14:58:54 (GMT) |
commit | 0b1029ff4d6f17a9f397adbf3f0a011cc20d76a5 (patch) | |
tree | e59dc3c1f4068bb748ebedde54c935a5ab3ef9ca /scripts/publish-macosx.sh | |
parent | 8dfc6d71cae370a84e50f4cc7624c05c859a4cea (diff) | |
parent | 20280e88cacc8935de139cd2ce46836beda87e0b (diff) |
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'scripts/publish-macosx.sh')
-rwxr-xr-x | scripts/publish-macosx.sh | 8 |
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 |