[meld] maint: Don't re-render news for the tag; use the last entry
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] maint: Don't re-render news for the tag; use the last entry
- Date: Sat, 23 Aug 2014 04:19:27 +0000 (UTC)
commit c0d6d409fa274c70f4850caf3ba6f77e19cc2be0
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Aug 23 14:10:25 2014 +1000
maint: Don't re-render news for the tag; use the last entry
maint.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/maint.py b/maint.py
index a9082ad..8c205ef 100755
--- a/maint.py
+++ b/maint.py
@@ -344,7 +344,7 @@ def tag():
click.secho(meld.conf.__version__, fg='green', bold=True)
click.confirm('\nTag this release?', default=True, abort=True)
- news_text = render_template(NEWS_TEMPLATE).encode('utf-8')
+ news_text = get_last_news_entry().encode('utf-8')
# FIXME: Should be signing tags
cmd = ['git', 'tag', '-a', '--file=-', meld.conf.__version__]
call_with_output(cmd, news_text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]