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 64216d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@ jobs:
else
echo "version=$version" >> "$GITHUB_OUTPUT"
notes="${notes//$'`'/%60}"
notes="${notes//$''/%27}"
notes="${notes//$''/%60}"
notes="${notes//$'\n'/'%0A'}"
notes="${notes//$'\r'/'%0D'}"
delimiter="$(openssl rand -hex 8)"
echo "notes<<${delimiter}" >> "$GITHUB_OUTPUT"
echo "## Changelog" >> "$GITHUB_OUTPUT"
echo "$notes" >> "$GITHUB_OUTPUT"
echo "${delimiter}" >> "$GITHUB_OUTPUT"
fi
Expand Down

0 comments on commit 64216d9

Please sign in to comment.