aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-06-03 00:34:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-06-03 00:34:32 +0800
commitd6d5728b1793207d05a900e5211b7807ed2a4016 (patch)
tree9a8ce156d011acae7bca354b2b1e76170f05492d
parente1e2ba3c0cd2bcbdfee6e84503746f67fe574f54 (diff)
downloadgsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.tar
gsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.tar.gz
gsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.tar.bz2
gsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.tar.lz
gsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.tar.xz
gsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.tar.zst
gsoc2013-empathy-d6d5728b1793207d05a900e5211b7807ed2a4016.zip
Send announce emails from release script
svn path=/trunk/; revision=1140
-rwxr-xr-xrelease.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/release.py b/release.py
index ce0ef96a9..d0c1bb2ae 100755
--- a/release.py
+++ b/release.py
@@ -270,10 +270,19 @@ class Project:
cmd = 'ssh %s@%s install-module -u %s' % (username, upload_server, tarball)
self.exec_cmd(cmd)
+ def send_email(self):
+ notes = self.get_release_notes()
+ cmd = 'xdg-email ' \
+ ' --cc telepathy@lists.freedesktop.org' \
+ ' --subject ANNOUNCE: Empathy %s' \
+ ' --body %s' \
+ ' gnome-announce-list@gnome.org' % (self.package_version, notes)
+ self.exec_cmd(cmd)
+
def release(self):
self.make_tag()
self.upload_tarball()
- print self.get_release_notes()
+ self.send_email()
if __name__ == '__main__':
p = Project()