fix: md lint

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei 2024-11-01 15:08:46 +08:00
parent 4de6355bb7
commit c8e556a3ac
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
4 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# 0.1.2-beta.0 Changelog
# What's new in v0.1.2-beta.0
## Features

View File

@ -1 +1 @@
# NEXT_VERSION Changelog
# What's new in vNEXT_VERSION

View File

@ -0,0 +1 @@
# What's new in vNEXT_VERSION

View File

@ -1,5 +1,5 @@
import { readFileSync, renameSync, writeFileSync } from "node:fs"
import { dirname, join, resolve } from "node:path"
import { copyFileSync, readFileSync, renameSync, writeFileSync } from "node:fs"
import { dirname, join } from "node:path"
import { fileURLToPath } from "node:url"
const __dirname = dirname(fileURLToPath(import.meta.url))
@ -17,4 +17,5 @@ renameSync(nextFile, join(changelogDir, `${new_version}.md`))
// Replace the NEXT_VERSION in the next.md file with the new version
// Create the new next.md file
writeFileSync(resolve(changelogDir, "next.md"), `# NEXT_VERSION Changelog`)
copyFileSync(join(changelogDir, "next.template.md"), join(changelogDir, "next.md"))