diff options
author | Marius Kintel <marius@kintel.net> | 2013-01-13 18:46:36 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-01-13 18:46:36 (GMT) |
commit | a1da6b2aded1c930a5ffdb5ecdbee708aefea243 (patch) | |
tree | cd326a3cbeb3ac27a491557b3bc2b914fddd84bf /scripts/publish-macosx.sh | |
parent | 51d8350113ece0d80ae92aeec1d9f99ac5021b65 (diff) |
Moved Mac download site from github to google code
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 |