mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 08:08:34 +08:00
chore: update changelog format and remove version prefix for consistency
This commit is contained in:
15
CHANGELOG.md
15
CHANGELOG.md
@@ -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`)
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user