Permalink
Browse files

Release 1.7.1 with fixes

  • Loading branch information...
1 parent 8d68876 commit 263217905a1a4aab51b71f110a552f299a568603 @offbyone offbyone committed Jan 5, 2013
Showing with 40 additions and 1 deletion.
  1. +4 −0 CHANGES.txt
  2. +1 −1 hamcrest/__init__.py
  3. +35 −0 release.sh
View
@@ -2,6 +2,10 @@
=== Version 1.7 ==
+5 Jan 2010 (Verison 1.7.1)
+* Bug fixes:
+ - included a fix by jaimegildesagredo for issue #28 (has_properties was not importable)
+
29 Dec 2012
(All changes by Chris Rose unless otherwise noted.)
View
@@ -1,7 +1,7 @@
from core import *
from library import *
-__version__ = "1.7"
+__version__ = "1.7.1"
__author__ = "Chris Rose"
__copyright__ = "Copyright 2012 hamcrest.org"
__license__ = "BSD, see License.txt"
View
@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+HERE=$(unset CDPATH; cd `dirname $0`; pwd)
+cd $HERE
+
+function do_release() {
+ local rc
+ local ver=$1; shift
+ local python=${1:-python}; shift
+ rm -rf $HERE/build
+ $HERE/.tox/$ver/bin/$python $HERE/setup.py build bdist_egg upload
+ rc=$?
+ return $rc
+}
+
+for python_version in py25 py27 py31 py26 py32; do
+ do_release $python_version || failed="$failed $python_version"
+done
+do_release pypy pypy || failed="$failed pypy"
+# do_release jython jython || failed="$failed jython"
+
+rc=0
+
+for f in $failed; do
+ rc=1
+ echo "Failed to release $f"
+done
+
+if [ $rc -ne 0 ]; then
+ echo "Skipping the source release due to failures"
+ exit $rc
+fi
+
+$HERE/.tox/py27/bin/python $HERE/setup.py sdist upload
+
+exit $rc

0 comments on commit 2632179

Please sign in to comment.