git: Put prod back on the list of branches to send notices about.

(imported from commit e608d7050b4e68045b03341dc41e8654e45a3af3)
This commit is contained in:
Tim Abbott 2013-02-21 14:33:02 -05:00
parent d21be42946
commit 863e5a7d4e

View file

@ -23,7 +23,7 @@ HUMBUG_API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# * subject "deploy => master" (using a pretty unicode right arrow) # * subject "deploy => master" (using a pretty unicode right arrow)
# And similarly for branch "test-post-receive" (for use when testing). # And similarly for branch "test-post-receive" (for use when testing).
def commit_notice_destination(repo, branch, commit): def commit_notice_destination(repo, branch, commit):
if branch in ["master", "post-receive-test"]: if branch in ["master", "prod", "post-receive-test"]:
return dict(stream = "commits", return dict(stream = "commits",
subject = u"deploy \u21D2 %s" % (branch,)) subject = u"deploy \u21D2 %s" % (branch,))