Skip to content

Commit

Permalink
first attemt to transform back substituted characters
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Jan 19, 2023
1 parent 8250434 commit 0e0bd99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0e0bd99

Please sign in to comment.