Commit 0d77b10f authored by Tim Peters's avatar Tim Peters

ZODB/__init__.py had the wrong kind of string quotes, so that release.py

didn't recognize its version number.  As a result, 3.3a3 went out with
ZODB/__init__.py claiming it was version 3.3a2.  Repaired that, but by
changing what release.py looks for.
parent fc049e1f
......@@ -41,11 +41,12 @@ def main(args):
zeoversion = compute_zeoversion(version)
replace("setup.py", 'version="\S+"', 'version="%s"' % version)
replace("README.txt", "'\d+\.\d+[a-z]?\d*'", "'%s'" % version)
replace("src/ZODB/__init__.py",
"__version__ = '\S+'", "__version__ = '%s'" % version)
'__version__ = "\S+"',
'__version__ = "%s"' % version)
replace("src/ZEO/__init__.py",
'version = "\S+"', 'version = "%s"' % zeoversion)
'version = "\S+"',
'version = "%s"' % zeoversion)
write_zeoversion("src/ZEO/version.txt", zeoversion)
replace("NEWS.txt",
"Release date: XX-\S+-\S+", "Release date: %s" % date)
......
......@@ -21,4 +21,5 @@ ZEO is now part of ZODB; ZODB's home on the web is
"""
# The next line must use double quotes, so replace.py recognizes it.
version = "2.3a3"
......@@ -12,7 +12,8 @@
#
##############################################################################
__version__ = "3.3a2"
# The next line must use double quotes, so replace.py recognizes it.
__version__ = "3.3a3"
import sys
import __builtin__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment