Commit 6168d8d0 authored by Tim Peters's avatar Tim Peters

Some of the files this tries to change don't live where the script

thinks they live.
parent 9224bafd
...@@ -40,14 +40,14 @@ def main(args): ...@@ -40,14 +40,14 @@ def main(args):
version, date = args version, date = args
zeoversion = compute_zeoversion(version) zeoversion = compute_zeoversion(version)
replace("src/setup.py", 'version="\S+"', 'version="%s"' % version) replace("setup.py", 'version="\S+"', 'version="%s"' % version)
replace("src/README.txt", "'\d+\.\d+[a-z]?\d*'", "'%s'" % version) replace("README.txt", "'\d+\.\d+[a-z]?\d*'", "'%s'" % version)
replace("src/ZODB/__init__.py", replace("src/ZODB/__init__.py",
"__version__ = '\S+'", "__version__ = '%s'" % version) "__version__ = '\S+'", "__version__ = '%s'" % version)
replace("src/ZEO/__init__.py", replace("src/ZEO/__init__.py",
'version = "\S+"', 'version = "%s"' % zeoversion) 'version = "\S+"', 'version = "%s"' % zeoversion)
write_zeoversion("src/ZEO/version.txt", zeoversion) write_zeoversion("src/ZEO/version.txt", zeoversion)
replace("src/NEWS.txt", replace("NEWS.txt",
"Release date: XX-\S+-\S+", "Release date: %s" % date) "Release date: XX-\S+-\S+", "Release date: %s" % date)
if __name__ == "__main__": if __name__ == "__main__":
......
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