mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 14:15:30 +00:00
ANY post-release bump is now the most recent, not just the one that
2008-02-26 Thomas Thurman <tthurman@gnome.org> * tools/release-wrangler.py: ANY post-release bump is now the most recent, not just the one that matches the current version. Otherwise, you can't use these tools straight after a branch. The changeset before this one was mislabelled because of this. svn path=/trunk/; revision=3601
This commit is contained in:

committed by
Thomas James Alexander Thurman

parent
9d9576612b
commit
c0c05d51ea
@@ -142,7 +142,8 @@ def scan_changelog(version):
|
||||
for line in changelog:
|
||||
if is_date(line):
|
||||
release_date = line[:10]
|
||||
if "Post-release bump to %s.%s.%s." % (version['major'], version['minor'], version['micro']) in line:
|
||||
|
||||
if "Post-release bump to" in line:
|
||||
changelog = changelog[:changelog.index(line)+1]
|
||||
break
|
||||
|
||||
@@ -281,6 +282,7 @@ def edit_news_entry(version):
|
||||
tmp.close()
|
||||
|
||||
os.system(favourite_editor()+' +6 %s ' % (filename))
|
||||
# FIXME: if they abort, would be useful to abort here too
|
||||
|
||||
# Write it out to NEWS
|
||||
|
||||
|
Reference in New Issue
Block a user