workflow description update
Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user