Skip to content

Commit

Permalink
Replace quotes by a more robust implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Alla committed Apr 20, 2020
1 parent b2fcf2c commit 2ac4512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Expand Up @@ -36,7 +36,7 @@ if [ -n "$INPUT_OUTPUT" ]; then ARG_OUTPUT="--output $INPUT_OUTPUT"; fi
if [ -n "$INPUT_BASE" ]; then ARG_BASE="--base $INPUT_BASE"; fi
if [ -n "$INPUT_HEADERLABEL" ]; then ARG_HEADERLABEL="--header-label $INPUT_HEADERLABEL"; fi
if [ -n "$INPUT_CONFIGURESECTIONS" ]; then ARG_CONFIGURESECTIONS="--configure-sections $INPUT_CONFIGURESECTIONS"; fi
if [ -n "$INPUT_ADDSECTIONS" ]; then ARG_ADDSECTIONS="--add-sections '$INPUT_ADDSECTIONS'"; fi
if [ -n "$INPUT_ADDSECTIONS" ]; then ARG_ADDSECTIONS=(--add-sections "$INPUT_ADDSECTIONS"); fi
if [ -n "$INPUT_FRONTMATTER" ]; then ARG_FRONTMATTER="--front-matter $INPUT_FRONTMATTER"; fi
if istrue "$INPUT_ISSUES"; then ARG_ISSUES="--issues"; else ARG_ISSUES="--no-issues"; fi
if istrue "$INPUT_ISSUESWOLABELS"; then ARG_ISSUESWOLABELS="--issues-wo-labels"; else ARG_ISSUESWOLABELS="--no-issues-wo-labels"; fi
Expand Down Expand Up @@ -94,7 +94,7 @@ github_changelog_generator \
$ARG_BASE \
$ARG_HEADERLABEL \
$ARG_CONFIGURESECTIONS \
$ARG_ADDSECTIONS \
"${ARG_ADDSECTIONS[@]}" \
$ARG_FRONTMATTER \
$ARG_ISSUES \
$ARG_ISSUESWOLABELS \
Expand Down

0 comments on commit 2ac4512

Please sign in to comment.