Skip to content

Commit

Permalink
Handle double quotes in commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Jul 15, 2024
1 parent efd75f3 commit 76a9743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_helm_chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
id: last_commit_msg
run: |
git fetch --depth=1 origin main
LAST_COMMIT_MSG=$(git log --format=%B -n 1 FETCH_HEAD | sed 's/`//g' | tr '\n' ' ')
LAST_COMMIT_MSG=$(git log --format=%B -n 1 FETCH_HEAD | sed 's/`//g' | sed 's/"//g' | tr '\n' ' ')
echo "LAST_COMMIT_MSG=$LAST_COMMIT_MSG" >> $GITHUB_ENV
- name: Send notification
Expand Down

0 comments on commit 76a9743

Please sign in to comment.