[Zope-CVS] CVS: ZODB - release.py:1.3

Tim Peters tim.one at comcast.net
Mon Apr 19 17:27:00 EDT 2004


Update of /cvs-repository/ZODB
In directory cvs.zope.org:/tmp/cvs-serv11335

Modified Files:
	release.py 
Log Message:
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.


=== ZODB/release.py 1.2 => 1.3 ===
--- ZODB/release.py:1.2	Fri Apr 16 16:21:01 2004
+++ ZODB/release.py	Mon Apr 19 17:26:29 2004
@@ -41,11 +41,12 @@
     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)




More information about the Zope-CVS mailing list