summaryrefslogtreecommitdiff
path: root/tools/release-wrangler.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release-wrangler.py')
-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 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