summaryrefslogtreecommitdiff
path: root/scripts/publish-macosx.sh
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-10 00:50:02 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-10 00:50:02 (GMT)
commit975ecef6a904bf4a3b4173a1c173442e9f3b5237 (patch)
tree5ceb4338e5ab124460f695161f53476b566b3da3 /scripts/publish-macosx.sh
parent393bff745b8fbd45059d92aea90d25c9db8d309a (diff)
Handle abort
git-svn-id: http://svn.clifford.at/openscad/trunk@427 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'scripts/publish-macosx.sh')
-rwxr-xr-xscripts/publish-macosx.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh
index 91986a5..88fd3f7 100755
--- a/scripts/publish-macosx.sh
+++ b/scripts/publish-macosx.sh
@@ -3,9 +3,12 @@
VERSION=`date "+%Y.%m.%d"`
#VERSION=2010.02
-export OPENCSGDIR=$PWD/../OpenCSG-1.3.0
+export OPENCSGDIR=$PWD/../OpenCSG-1.2.0
`dirname $0`/release-common.sh -v $VERSION
+if [[ $? != 0 ]]; then
+ exit 1
+fi
cp OpenSCAD-$VERSION.dmg ~/Documents/Dropbox/Public
ln -sf OpenSCAD-$VERSION.dmg ~/Documents/Dropbox/Public/OpenSCAD-latest.dmg
contact: Jan Huwald // Impressum