mirror of
https://github.com/SethCohen/github-releases-to-discord
synced 2026-09-14 20:13:23 +00:00
feat: updated action description format
This commit is contained in:
@@ -36,7 +36,7 @@ async function run () {
|
|||||||
const newString = substring.slice(3)
|
const newString = substring.slice(3)
|
||||||
return `**${newString}**`
|
return `**${newString}**`
|
||||||
})
|
})
|
||||||
.replace(/(\r\n|\n|\r)/gm, "\n")
|
.replace(/\n\s*\n/g, '\n')
|
||||||
|
|
||||||
const embedMsg = {
|
const embedMsg = {
|
||||||
title: `Release ${content.version}`,
|
title: `Release ${content.version}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user