diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/update-release-info.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/update-release-info.py b/bin/update-release-info.py index 44939114..338bba91 100644 --- a/bin/update-release-info.py +++ b/bin/update-release-info.py @@ -305,11 +305,10 @@ t.replace_assign('default_version', repr(version_string)) # Update README -t = UpdateFile('README') -if DEBUG: t.file = '/tmp/README' +t = UpdateFile('README.rst') +if DEBUG: t.file = '/tmp/README.rst' t.sub('-' + t.match_pat + '\.', '-' + version_string + '.', count = 0) -# the loop below can be removed after all 1.x.y releases are dead -for suf in ['tar', 'win32', 'zip']: +for suf in ['tar', 'win32', 'zip', 'rpm', 'exe', 'deb']: t.sub('-(\d+\.\d+\.\d+)\.%s' % suf, '-%s.%s' % (version_string, suf), count = 0) |