Skip to content

Commit

Permalink
chore: trigger-release should not fail if commentChar not configured (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Matyushentsev authored Jun 9, 2020
1 parent 10dc082 commit 3117a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/trigger-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fi

# We need different git comment char than '#', because markdown makes extensive
# use of '#' - we chose ';' for our operation.
origToken=$(git config core.commentChar)
origToken=$(git config core.commentChar || echo '#')
echo ">> Saving original Git comment char '${origToken}' and setting it to ';' for this run"
if ! git config core.commentChar ';'; then
echo "!! Could not set git config commentChar ';'" >&2
Expand Down

0 comments on commit 3117a2c

Please sign in to comment.