summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-02-26 18:57:57 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-02-26 18:57:57 +0000
commitc0c05d51eacb8515e340ee62b0fb721fdaa90085 (patch)
tree5c0f2a987ad4c0a5477fcecd18b41816e4ddd95f /tools
parent9d9576612b86e8d6d2534a6c43d080f2b1632701 (diff)
downloadmutter-c0c05d51eacb8515e340ee62b0fb721fdaa90085.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/release-wrangler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/release-wrangler.py b/tools/release-wrangler.py
index 78dbc6d0a..1f00cb59c 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