metacity r3601 - in trunk: . tools



Author: tthurman
Date: Tue Feb 26 18:57:57 2008
New Revision: 3601
URL: http://svn.gnome.org/viewvc/metacity?rev=3601&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/tools/release-wrangler.py

Modified: trunk/tools/release-wrangler.py
==============================================================================
--- trunk/tools/release-wrangler.py	(original)
+++ trunk/tools/release-wrangler.py	Tue Feb 26 18:57:57 2008
@@ -142,7 +142,8 @@
   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 @@
   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
 



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