diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 5183a503d..fea7af856 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -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"