Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b2bc71c

Browse files
fix: Don't quote the > operator in entrypoint.sh
Otherwise it is interpreted literally rather than as a redirect.
1 parent 5d5be47 commit b2bc71c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎entrypoint.sh‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ if [[ $INPUT_COMMIT == 'false' ]]; then
4444
CZ_CMD+=('--files-only')
4545
fi
4646
if [[ $INPUT_CHANGELOG_INCREMENT_FILENAME ]]; then
47-
CZ_CMD+=('--changelog-to-stdout' ">$INPUT_CHANGELOG_INCREMENT_FILENAME")
47+
CZ_CMD+=('--changelog-to-stdout')
48+
echo "${CZ_CMD[@]}" ">$INPUT_CHANGELOG_INCREMENT_FILENAME"
49+
"${CZ_CMD[@]}" >"$INPUT_CHANGELOG_INCREMENT_FILENAME"
50+
else
51+
echo "${CZ_CMD[@]}"
52+
"${CZ_CMD[@]}"
4853
fi
49-
echo "${CZ_CMD[@]}"
50-
"${CZ_CMD[@]}"
5154

5255
REV="$(cz version --project)"
5356
echo "REVISION=${REV}" >>"$GITHUB_ENV"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /