chore: update changelog format and remove version prefix for consistency

This commit is contained in:
Jiaxin Peng
2026-03-04 10:37:02 +00:00
parent b08c46c233
commit 95b22619b4
2 changed files with 1 additions and 16 deletions

View File

@@ -2,21 +2,6 @@
## Unreleased ## Unreleased
### Added
### Changed
### Fixed
## v2.8.3 (2026-03-04)
### Added
### Changed
### Fixed
## 2.8.2 (2026-03-04)
### Fixed ### Fixed
- Fixed version bump with `tag-version-prefix="v"` in `.npmrc` causing incorrect version format in `package.json` (e.g. `v2.8.1` instead of `2.8.1`) - Fixed version bump with `tag-version-prefix="v"` in `.npmrc` causing incorrect version format in `package.json` (e.g. `v2.8.1` instead of `2.8.1`)

View File

@@ -25,7 +25,7 @@ function bumpChangelog(version) {
} }
const today = new Date().toISOString().slice(0, 10); const today = new Date().toISOString().slice(0, 10);
const releaseHeader = `## v${version} (${today})`; const releaseHeader = `## ${version} (${today})`;
const updated = content.replace(unreleasedHeader, releaseHeader); const updated = content.replace(unreleasedHeader, releaseHeader);
const marker = "# Changelog\n\n"; const marker = "# Changelog\n\n";