blob: 0dc99eaa749b070a45f4d11d1da9a2a93c487f45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#!/bin/sh
# This is run as part of the checklist in docs/release-checklist.txt
#
# 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 [ ! -e $MXEDIR ]; then
echo "Mingw cross tools not found."
echo " Please run ./scripts/mingw-x-build-dependencies.sh to install "
echo " or modify MXEDIR to point to the root of your cross-tools setup"
echo " ( Please see setenv-mingw-xbuild.sh for more info ) "
fi
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
echo "release-common.sh returned error code: $?. build stopped."
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
|