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

Casey Duncan casey at zope.com
Mon Apr 19 21:53:10 EDT 2004


Yikes...I'm too scared to look at the rest of this file now...

everythings-a-string-ly y'rs,

-Casey

On Mon, 19 Apr 2004 17:27:00 -0400
Tim Peters <tim.one at comcast.net> wrote:

> 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)
> 
> 
> _______________________________________________
> Zope-CVS maillist  -  Zope-CVS at zope.org
> http://mail.zope.org/mailman/listinfo/zope-cvs
> 
> Zope CVS instructions: http://dev.zope.org/CVS
> 




More information about the Zope-CVS mailing list