ansible/roles/git/hooks/files/post-receive-chained
Pierre-Yves Chibon 8f04f6fa73 Add and install the secondary arch git hook
This hook is meant to notify secondary arch people about changes made to
packages that involves: ExclusiveArch or ExcludesArch.
2016-10-28 10:59:16 +02:00

12 lines
511 B
Bash
Executable file

#!/bin/bash
# Redirect stdin to each of the post-receive hooks in place.
# You need to explicitly add your hook to the following list
# for it to be invoked.
pee \
$GIT_DIR/hooks/post-receive-chained.d/post-receive-fedmsg
$GIT_DIR/hooks/post-receive-chained.d/post-receive-secondaryarch
# We used to send emails directly from the git hook here, but now we send to
# fedmsg which routes to FMN which routes to packagers and the mailing list.
#$GIT_DIR/hooks/post-receive-chained.d/post-receive-email \