mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
Merge pull request #15 from brandongray/bug/infra-5989
translate '/' to '-' in package name for mailinglist hook
This commit is contained in:
commit
83229cf00a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ mkdir -p $REPODIR/$PACKAGE.git
|
||||||
pushd $REPODIR/$PACKAGE.git >/dev/null
|
pushd $REPODIR/$PACKAGE.git >/dev/null
|
||||||
git init -q --shared --bare
|
git init -q --shared --bare
|
||||||
echo "$PACKAGE" > description # This is used to figure out who to send mail to.
|
echo "$PACKAGE" > description # This is used to figure out who to send mail to.
|
||||||
git config --add hooks.mailinglist "$PACKAGE-owner@fedoraproject.org,scm-commits@lists.fedoraproject.org"
|
git config --add hooks.mailinglist "$(echo $PACKAGE | tr '/' '-')-owner@fedoraproject.org,scm-commits@lists.fedoraproject.org"
|
||||||
git config --add hooks.maildomain fedoraproject.org
|
git config --add hooks.maildomain fedoraproject.org
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue