scripts/patch: never GPG-sign automated commits, regardless of the default configuration

This commit is contained in:
Matthias Schiffer 2016-05-28 16:04:40 +02:00 committed by Christof Schulze
parent 8546c3b8bd
commit 3e220613a3

View File

@ -12,7 +12,7 @@ for module in $GLUON_MODULES; do
git checkout -B patching base git checkout -B patching base
for patch in "$GLUONDIR"/patches/$module/*.patch; do for patch in "$GLUONDIR"/patches/$module/*.patch; do
if ! git -c user.name='Gluon Patch Manager' -c user.email='gluon@void.example.com' am --whitespace=nowarn --committer-date-is-author-date "$patch"; then if ! git -c user.name='Gluon Patch Manager' -c user.email='gluon@void.example.com' -c commit.gpgsign=false am --whitespace=nowarn --committer-date-is-author-date "$patch"; then
git am --abort git am --abort
git checkout patched git checkout patched
git branch -D patching git branch -D patching