Skip to content

Commit

Permalink
ci(publish): remove changelogSanitized to unblock (#21424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Oct 9, 2023
1 parent cc55c2b commit 00308fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/ci/publish.ts
Expand Up @@ -707,10 +707,13 @@ async function tagEnginesRepo(
'prisma-engines',
`git log ${previousTag}..${engineVersion} --pretty=format:' * %h - %s - by %an' --`,
)

// TODO remove later
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const changelogSanitized = changelog.replace(/"/gm, '\\"').replace(/`/gm, '\\`')

if (typeof process.env.GITHUB_OUTPUT == 'string' && process.env.GITHUB_OUTPUT.length > 0) {
fs.appendFileSync(process.env.GITHUB_OUTPUT, `changelogSanitized=${changelogSanitized}\n`)
// fs.appendFileSync(process.env.GITHUB_OUTPUT, `changelogSanitized=${changelogSanitized}\n`)
}
}

Expand Down

0 comments on commit 00308fd

Please sign in to comment.