aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-15 21:31:26 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-15 21:31:26 +0800
commit169790a62ae1fa5b5f13261c776a3aadfcbaace4 (patch)
treec37f02412d92779045d4a37206111bcd1bc29336
parentc40562fe07c7ae43b05cdf2b6cb043aac4d57585 (diff)
downloadgsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.tar
gsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.tar.gz
gsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.tar.bz2
gsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.tar.lz
gsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.tar.xz
gsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.tar.zst
gsoc2013-empathy-169790a62ae1fa5b5f13261c776a3aadfcbaace4.zip
Fix the release script to correctly send emails when notes have some "
svn path=/trunk/; revision=1242
-rwxr-xr-xrelease.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/release.py b/release.py
index a41eee753..ec6b0f9b8 100755
--- a/release.py
+++ b/release.py
@@ -276,7 +276,8 @@ class Project:
' --cc telepathy@lists.freedesktop.org' \
' --subject "ANNOUNCE: Empathy %s"' \
' --body "%s"' \
- ' gnome-announce-list@gnome.org' % (self.package_version, notes)
+ ' gnome-announce-list@gnome.org' % (self.package_version,
+ notes.replace('"', '\\"'))
self.exec_cmd(cmd)
def release(self):
@@ -295,6 +296,8 @@ if __name__ == '__main__':
dest="write_news", help="Generate and write news into the NEWS file")
parser.add_option("-r", "--release", action="store_true",\
dest="release", help="Release the tarball")
+ parser.add_option("-e", "--email", action="store_true",\
+ dest="email", help="Send the release announce email")
(options, args) = parser.parse_args ()
if (options.print_news):
@@ -305,4 +308,6 @@ if __name__ == '__main__':
p.write_news ()
if (options.release):
p.release ()
+ if (options.email):
+ p.send_email ()