fix: replace ASCII apostrophes in release notes to prevent script breakage

This commit is contained in:
CaIon
2026-07-27 17:17:01 +08:00
parent 8a7a49072a
commit 2ec6171faa
@@ -113,7 +113,9 @@ jobs:
{
echo "tag=$RELEASE_TAG"
echo "body<<$delimiter"
jq -r '.body // ""' <<< "$release_json"
# sync_to_gitcode embeds this input in a single-quoted shell string.
# Replace ASCII apostrophes so release notes cannot break its script.
jq -r '.body // ""' <<< "$release_json" | sed "s/'//g"
echo "$delimiter"
echo "prerelease=$(jq -r '.isPrerelease' <<< "$release_json")"
} >> "$GITHUB_OUTPUT"