summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/checklist-macosx.txt4
-rwxr-xr-xscripts/release-common.sh4
-rwxr-xr-xscripts/release-macosx.sh4
3 files changed, 10 insertions, 2 deletions
diff --git a/doc/checklist-macosx.txt b/doc/checklist-macosx.txt
index e3d48eb..7494dc7 100644
--- a/doc/checklist-macosx.txt
+++ b/doc/checklist-macosx.txt
@@ -20,6 +20,6 @@ o Build OpenCSG
o Build and Deploy OpenSCAD
-# Update VERSION in release-macosx.sh
+# Update VERSION in publish-macosx.sh
cd openscad
- ./release-macosx.sh
+ ./scripts/publish-macosx.sh
diff --git a/scripts/release-common.sh b/scripts/release-common.sh
index 9624035..da249ed 100755
--- a/scripts/release-common.sh
+++ b/scripts/release-common.sh
@@ -70,6 +70,10 @@ esac
make -j2 $TARGET
+if [[ $? != 0 ]]; then
+ echo "Error building OpenSCAD. Aborting."
+fi
+
echo "Creating directory structure..."
rm -rf openscad-$VERSION
mkdir openscad-$VERSION
diff --git a/scripts/release-macosx.sh b/scripts/release-macosx.sh
index 8ac5dc0..18174d6 100755
--- a/scripts/release-macosx.sh
+++ b/scripts/release-macosx.sh
@@ -1,3 +1,7 @@
+##
+## Deprecated! Use release-common.sh instead
+##
+
#!/bin/sh
#
# This script creates a binary release of OpenSCAD for Mac OS X.
contact: Jan Huwald // Impressum