first attemt to transform back substituted characters

This commit is contained in:
Gabor Greif 2023-01-19 15:07:12 +01:00
parent 8250434419
commit 0e0bd99213

View File

@ -143,6 +143,9 @@ async function run(): Promise<void> {
const prerelease = core.getInput('prerelease') == 'true' ? true : false
const release_name = core.getInput('release_name')
const body = core.getInput('body')
.replace(/%25/g, '%')
.replace(/%0A/g, '\n')
.replace(/%0D/g, '\r')
const octokit = github.getOctokit(token)
const release = await get_release_by_tag(