diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-03 11:30:28 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-03 11:30:28 (GMT) |
commit | 7b9a838abe730f7ddd5eca8b8376dc6af10c9a49 (patch) | |
tree | 14e036e4361cd52e1165bf49c372bee969553c64 /scripts/publish-mingw-x.sh | |
parent | 08b07769859ef4905a72b54c58e2e7891d3ac0a5 (diff) |
update the 'release checklist' and integrate with mingw crossbuild
Diffstat (limited to 'scripts/publish-mingw-x.sh')
-rwxr-xr-x | scripts/publish-mingw-x.sh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/scripts/publish-mingw-x.sh b/scripts/publish-mingw-x.sh new file mode 100755 index 0000000..e15899e --- /dev/null +++ b/scripts/publish-mingw-x.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +# 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 +CCACHE_DISABLE=1 + +. ./scripts/setenv-mingw-xbuild.sh + +if [ ! -f $OPENSCADDIR/openscad.pro ]; then + echo "Must be run from the OpenSCAD source root directory" + exit 0 +fi + +OS=LINXWIN ./scripts/release-common.sh -v $VERSION $COMMIT +if [[ $? != 0 ]]; then + exit 1 +fi + +echo "Please upload these files to the appropriate location" +BINFILE=$DEPLOYDIR/OpenSCAD-$VERSION.zip +INSTALLFILE=$DEPLOYDIR/OpenSCAD-$VERSION-Installer.exe +echo $BINFILE +echo $INSTALLFILE + +echo +echo "Then copy/paste these commands into your shell:" +echo + +# Update snapshot filename on wab page +echo ./scripts/update-web.sh OpenSCAD-$VERSION.zip +echo ./scripts/update-web.sh OpenSCAD-$VERSION-Installer.exe |