Skip to content

Commit dee95ea

Browse files
author
Hendry, Adam
committed
fix(entrypoint.sh): move --gpg-sign after bump
Switch `--gpg-sign` applies to `bump` subcommand.
1 parent e9c803c commit dee95ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ CZ_CMD=('cz')
4141
if [[ $INPUT_DEBUG == 'true' ]]; then
4242
CZ_CMD+=('--debug')
4343
fi
44-
if [[ $INPUT_GPG_SIGN == 'true' ]]; then
45-
CZ_CMD+=('--gpg-sign')
46-
fi
4744
if [[ $INPUT_NO_RAISE ]]; then
4845
CZ_CMD+=('--no-raise' "$INPUT_NO_RAISE")
4946
fi
5047
CZ_CMD+=('bump' '--yes')
48+
if [[ $INPUT_GPG_SIGN == 'true' ]]; then
49+
CZ_CMD+=('--gpg-sign')
50+
fi
5151
if [[ $INPUT_DRY_RUN == 'true' ]]; then
5252
CZ_CMD+=('--dry-run')
5353
fi

0 commit comments

Comments
 (0)