Skip to content

Commit e543aff

Browse files
author
Hendry, Adam
committed
fix(entrypoint.sh): move --debug
Move `--debug` switch to after `bump` command.
1 parent dee95ea commit e543aff

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
@@ -38,9 +38,6 @@ echo "Commitizen version: $(cz version)"
3838
PREV_REV="$(cz version --project)"
3939

4040
CZ_CMD=('cz')
41-
if [[ $INPUT_DEBUG == 'true' ]]; then
42-
CZ_CMD+=('--debug')
43-
fi
4441
if [[ $INPUT_NO_RAISE ]]; then
4542
CZ_CMD+=('--no-raise' "$INPUT_NO_RAISE")
4643
fi
@@ -66,6 +63,9 @@ fi
6663
if [[ $INPUT_CHECK_CONSISTENCY ]]; then
6764
CZ_CMD+=('--check-consistency')
6865
fi
66+
if [[ $INPUT_DEBUG == 'true' ]]; then
67+
CZ_CMD+=('--debug')
68+
fi
6969
if [[ $INPUT_CHANGELOG_INCREMENT_FILENAME ]]; then
7070
CZ_CMD+=('--changelog-to-stdout')
7171
echo "${CZ_CMD[@]}" ">$INPUT_CHANGELOG_INCREMENT_FILENAME"

0 commit comments

Comments
 (0)