diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-15 00:48:14 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-15 00:48:14 (GMT) |
commit | 232f51a2bcf485fd5ade619447e1206fcc991fa7 (patch) | |
tree | ff7dd784cef27eb71442f40bb91e1bc26f246a61 /scripts/publish-macosx.sh | |
parent | 864c39f5fbb8002f4634b76a03a174da0d5b02da (diff) | |
parent | f0ffb390c8bced58d44fb0cb892ea828ac0bafb7 (diff) |
Merge branch 'master' into boost_backport
Diffstat (limited to 'scripts/publish-macosx.sh')
-rwxr-xr-x | scripts/publish-macosx.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/publish-macosx.sh b/scripts/publish-macosx.sh index a2451fa..a2ded8a 100755 --- a/scripts/publish-macosx.sh +++ b/scripts/publish-macosx.sh @@ -1,15 +1,20 @@ #!/bin/sh -VERSION=`date "+%Y.%m.%d"` +# Set this if we're doing a release build. Comment it out for development builds #VERSION=2011.12 +if test -z "$VERSION"; then + VERSION=`date "+%Y.%m.%d"` + COMMIT=-c +fi + # Turn off ccache, just for safety PATH=${PATH//\/opt\/local\/libexec\/ccache:} # This is the same location as DEPLOYDIR in macosx-build-dependencies.sh export OPENSCAD_LIBRARIES=$PWD/../libraries/install -`dirname $0`/release-common.sh -v $VERSION +`dirname $0`/release-common.sh -v $VERSION $COMMIT if [[ $? != 0 ]]; then exit 1 fi |