Skip to content

Commit 643bfdc

Browse files
author
Hendry, Adam
committed
fix(entrypoint.sh): remove --gpg-sign
See if Git will sign for us instead of through `cz`.
1 parent 42dd53b commit 643bfdc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

entrypoint.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ if [[ $INPUT_GPG_SIGN == 'true' ]]; then
2020
exit 2
2121
fi
2222
echo "Configuring GPG for signing commits and tags..."
23+
which gpg | git config --local gpg.program
24+
git config --local tag.gpgsign true
2325
git config --local user.signingkey "${INPUT_GIT_SIGNINGKEY}"
2426
fi
2527

@@ -45,9 +47,6 @@ if [[ $INPUT_NO_RAISE ]]; then
4547
CZ_CMD+=('--no-raise' "$INPUT_NO_RAISE")
4648
fi
4749
CZ_CMD+=('bump' '--yes')
48-
if [[ $INPUT_GPG_SIGN == 'true' ]]; then
49-
CZ_CMD+=('--gpg-sign')
50-
fi
5150
if [[ $INPUT_DRY_RUN == 'true' ]]; then
5251
CZ_CMD+=('--dry-run')
5352
fi

0 commit comments

Comments
 (0)