mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-13 06:01:45 +00:00
devtools: don't push if signing fails in github-merge
If a problem happens with gpg, exit prematurely so that it doesn't push the branch upstream.
This commit is contained in:
parent
8bc1b3a1f3
commit
3802ae7267
@ -161,7 +161,11 @@ if [[ "d$REPLY" =~ ^d[Ss]$ ]]; then
|
|||||||
cleanup
|
cleanup
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
git commit -q --gpg-sign --amend --no-edit
|
if ! git commit -q --gpg-sign --amend --no-edit; then
|
||||||
|
echo "Error signing, exiting."
|
||||||
|
cleanup
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Not signing off on merge, exiting."
|
echo "Not signing off on merge, exiting."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user