[empathy] release.py: add release date in NEWS



commit 947c4ba4558c7cb156956ac63000b03bddbb0c9c
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Mar 29 14:28:01 2010 +0200

    release.py: add release date in NEWS

 release.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/release.py b/release.py
index b0491b7..624dd11 100755
--- a/release.py
+++ b/release.py
@@ -221,7 +221,8 @@ class Project:
 
 		news = 'NEW in '+ self.package_version
 		line = '=' * len(news)
-		news += '\n%s\n' % line
+		today = datetime.date.today()
+		news += ' (%s)\n%s\n' % (today.strftime('%d/%m/%Y'),line)
 		if bugs != '':
 			news += 'Bugs fixed:\n' + bugs + '\n'
 		if translations != '':



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]