Skip to content

Commit c8e556a

Browse files
committed
fix: md lint
Signed-off-by: Innei <tukon479@gmail.com>
1 parent 4de6355 commit c8e556a

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

changelog/0.1.2-beta.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 0.1.2-beta.0 Changelog
1+
# What's new in v0.1.2-beta.0
22

33
## Features
44

changelog/next.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# NEXT_VERSION Changelog
1+
# What's new in vNEXT_VERSION

changelog/next.template.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# What's new in vNEXT_VERSION

scripts/apply-changelog.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { readFileSync, renameSync, writeFileSync } from "node:fs"
2-
import { dirname, join, resolve } from "node:path"
1+
import { copyFileSync, readFileSync, renameSync, writeFileSync } from "node:fs"
2+
import { dirname, join } from "node:path"
33
import { fileURLToPath } from "node:url"
44

55
const __dirname = dirname(fileURLToPath(import.meta.url))
@@ -17,4 +17,5 @@ renameSync(nextFile, join(changelogDir, `${new_version}.md`))
1717
// Replace the NEXT_VERSION in the next.md file with the new version
1818

1919
// Create the new next.md file
20-
writeFileSync(resolve(changelogDir, "next.md"), `# NEXT_VERSION Changelog`)
20+
21+
copyFileSync(join(changelogDir, "next.template.md"), join(changelogDir, "next.md"))

0 commit comments

Comments
 (0)