summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/publish-macosx.sh5
-rwxr-xr-xscripts/release-common.sh1
2 files changed, 5 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
diff --git a/scripts/release-common.sh b/scripts/release-common.sh
index da249ed..f08f046 100755
--- a/scripts/release-common.sh
+++ b/scripts/release-common.sh
@@ -72,6 +72,7 @@ make -j2 $TARGET
if [[ $? != 0 ]]; then
echo "Error building OpenSCAD. Aborting."
+ exit 1
fi
echo "Creating directory structure..."
contact: Jan Huwald // Impressum