move percent recovery to the last step

This commit is contained in:
Gabor Greif
2023-01-20 14:40:32 +01:00
parent 5cbce4f5ee
commit 0e6c75888a
2 changed files with 6 additions and 5 deletions

View File

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