mirror of https://github.com/zulip/zulip.git
post-receive: Send a notification to @everyone on non-fastforward
(imported from commit 8fc232dbef4b9b87f30f0b68c6407c43fd8553ba)
This commit is contained in:
parent
9ef3754682
commit
8f5031687c
|
@ -109,7 +109,7 @@ def send_bot_message(oldrev, newrev, refname):
|
||||||
if added:
|
if added:
|
||||||
message += '\n**and adding**:\n\n' + added
|
message += '\n**and adding**:\n\n' + added
|
||||||
message += '\n**A HISTORY REWRITE HAS OCCURRED!**'
|
message += '\n**A HISTORY REWRITE HAS OCCURRED!**'
|
||||||
message += '\nPlease check your local branches to deal with this.'
|
message += '\n@everyone: Please check your local branches to deal with this.'
|
||||||
elif added:
|
elif added:
|
||||||
message = '`%s` was deployed to `%s` with:\n\n%s' % (new_head, branch, added)
|
message = '`%s` was deployed to `%s` with:\n\n%s' % (new_head, branch, added)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue