Skip to content

Commit

Permalink
chore: upgrade changelog notes injection process in staging workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Ilona Shishov <[email protected]>
  • Loading branch information
IlonaShishov committed Mar 6, 2024
1 parent 4381575 commit 6f5fa9c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,16 @@ jobs:
else
echo "version=$version" >> "$GITHUB_OUTPUT"
notes="${notes//$' '/%20}"
notes="${notes//$'\"'/%22}"
notes="${notes//$'&'/%26}"
notes="${notes//$'+'/%2B}"
notes="${notes//$'/'/%2F}"
notes="${notes//$'\''/%27}"
notes="${notes//$'`'/%60}"
notes="${notes//'%'/'%25'}"
notes="${notes//$'\n'/'%0A'}"
notes="${notes//$'\r'/'%0D'}"
delimiter="$(openssl rand -hex 8)"
echo "notes<<${delimiter}" >> "$GITHUB_OUTPUT"
echo "## Changelog" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 6f5fa9c

Please sign in to comment.