workflow description update

Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
FTCHD
2025-11-02 15:20:54 +01:00
parent 603eba9939
commit ace0b8dd7a
3 changed files with 15 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
import { readFileSync } from 'node:fs'
import { dirname, join } from 'node:path'
import { fileURLToPath } from 'node:url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
const releaseMdPath = join(__dirname, '..', 'release.md')
const content = readFileSync(releaseMdPath, 'utf-8')
const escaped = content.replace(/\\/g, '\\\\').replace(/"/g, '\\"').replace(/\n/g, '\\n')
console.log(escaped)