Skip to content

Commit

Permalink
Update sync-readme-changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch authored Sep 13, 2023
1 parent 40d505e commit a995c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-readme-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
--data "$payload"

# Escape newlines for Slack payload
release_body_escaped=$(echo -n "${{ github.event.release.body }}" | sed ':a;N;$!ba;s/\n/\\n/g')
release_body_escaped="${{ github.event.release.body//$'\n'/\\n }}"
echo "release_body_escaped=$release_body_escaped" >> "$GITHUB_OUTPUT"

- name: Announce New Release in Slack
Expand Down

0 comments on commit a995c25

Please sign in to comment.