diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-04 00:22:22 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-04 00:22:22 (GMT) |
commit | c8cdc9d81ce9c813d711039abd1b723b783bdd2d (patch) | |
tree | 33fb13bd8d7aafdef799ed0a5bb575d448b29776 | |
parent | 7b9a838abe730f7ddd5eca8b8376dc6af10c9a49 (diff) |
use VERSION environment variable instead of editing files
-rw-r--r-- | doc/release-checklist.txt | 15 | ||||
-rwxr-xr-x | scripts/publish-mingw-x.sh | 5 |
2 files changed, 13 insertions, 7 deletions
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt index 02ac82e..e69ed87 100644 --- a/doc/release-checklist.txt +++ b/doc/release-checklist.txt @@ -1,14 +1,15 @@ OpenSCAD Release Checklist -------------------------- -o Update VERSION in these files: +o Update VERSION environment variable + export VERSION=2012.08 + + It will be used by the commands below, as well as these files: + scripts/release-linux.sh - scripts/publish-macosx.sh + scripts/publish-macosx.sh scripts/publish-mingw-x.sh -o Update VERSION env variable - export VERSION=2012.08 - o Update RELEASE_NOTES o Tag release @@ -30,7 +31,9 @@ o build binaries o FIXME: Run some tests -o Set back version to being date-tagged: release-linux.sh, publish-macosx.sh, FIXME: Windows +o Remove VERSION environment variable + + export VERSION= o git push --tags diff --git a/scripts/publish-mingw-x.sh b/scripts/publish-mingw-x.sh index e15899e..1f23ace 100755 --- a/scripts/publish-mingw-x.sh +++ b/scripts/publish-mingw-x.sh @@ -19,7 +19,10 @@ if [ ! -f $OPENSCADDIR/openscad.pro ]; then fi OS=LINXWIN ./scripts/release-common.sh -v $VERSION $COMMIT -if [[ $? != 0 ]]; then + +echo $? return value + +if [ $? != 0 ]; then exit 1 fi |