diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-07-15 21:31:26 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-07-15 21:31:26 +0800 |
commit | 169790a62ae1fa5b5f13261c776a3aadfcbaace4 (patch) | |
tree | c37f02412d92779045d4a37206111bcd1bc29336 | |
parent | c40562fe07c7ae43b05cdf2b6cb043aac4d57585 (diff) | |
download | gsoc2013-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-x | release.py | 7 |
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 () |