From 14ad4f5cb4446f7350e53269a0c9bcd9814e7e83 Mon Sep 17 00:00:00 2001 From: Paul Schmiedmayer Date: Thu, 9 Jan 2025 13:23:24 -0800 Subject: [PATCH] Update Action --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 821e4bf0..06f30b94 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,8 +77,9 @@ jobs: releasenotes = re.sub(r'\n\s*\n', '\n', releasenotes).strip() # Escape single quotes and line breaks - releasenotes = releasenotes.replace("'", "\\'") - releasenotes = releasenotes.replace("\n", "\\n") + releasenotes = releasenotes.replace('"', "'") + releasenotes = releasenotes.replace("'", "\\\'") + releasenotes = releasenotes.replace("\n", "\\\n") # Write cleaned releasenotes to GITHUB_OUTPUT with open(os.environ['GITHUB_OUTPUT'], 'a') as output_file: