mirror of https://github.com/zulip/zulip.git
post-receive: Use a different subject name for each push
(imported from commit 983c34faa52bec9a7af4d26a326bbb8cc4a08bea)
This commit is contained in:
parent
2c9830ac5b
commit
bd8a4cb4ab
|
@ -76,7 +76,7 @@ def send_bot_message(oldrev, newrev, refname):
|
|||
message_data = {
|
||||
"type": "stream",
|
||||
"stream": "test" if refname == "refs/heads/test-post-receive" else "devel",
|
||||
"subject": "commits",
|
||||
"subject": "push-" + new_head,
|
||||
"content": message,
|
||||
"recipient": "tabbott@humbughq.com",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue