From c0c05d51eacb8515e340ee62b0fb721fdaa90085 Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Tue, 26 Feb 2008 18:57:57 +0000 Subject: ANY post-release bump is now the most recent, not just the one that 2008-02-26 Thomas Thurman * 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 --- tools/release-wrangler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/release-wrangler.py b/tools/release-wrangler.py index 78dbc6d..1f00cb5 100644 --- a/tools/release-wrangler.py +++ b/tools/release-wrangler.py @@ -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 -- cgit v1.1