]> git.0d.be Git - empathy.git/blobdiff - release.py
Add ax_config_dir from audacity
[empathy.git] / release.py
index d5a4c92d2c316bf085ab96b7c4ac19320a33fea8..6d6afbdf4c7f0975b531c88e11829284d67180e0 100755 (executable)
@@ -9,7 +9,7 @@ import time
 from string import Template
 from optparse import OptionParser
 
-last_tag_patern = 'EMPATHY_2_29*'
+last_tag_pattern = 'EMPATHY_2_91*'
 upload_server = 'master.gnome.org'
 template = '''\
 $name $version is now available for download from:
@@ -67,7 +67,7 @@ class Project:
                        version_dir = self.package_version[:second]
                self.package_dl_url = 'http://download.gnome.org/sources/%s/%s/' % (self.package_name.lower(), 
                                                                                    version_dir)
-               tags_str = self.exec_cmd('git tag -l %s' % (last_tag_patern))
+               tags_str = self.exec_cmd('git tag -l %s' % (last_tag_pattern))
                tags = tags_str.splitlines()
                self.last_tag = tags[len(tags)-1]
 
@@ -219,7 +219,10 @@ class Project:
                        " - Updated %s Documentation translation (%s)\n")
                bugs = self.get_bugs()
 
-               news = 'NEW in '+ self.package_version + '\n==============\n'
+               news = 'NEW in '+ self.package_version
+               line = '=' * len(news)
+               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 != '':
@@ -265,6 +268,7 @@ class Project:
 
        def send_email(self):
                notes = self.get_release_notes()
+                print notes
                cmd = 'xdg-email ' \
                      ' --cc telepathy@lists.freedesktop.org' \
                      ' --subject "ANNOUNCE: Empathy %s"' \