chore(release): update changelog and fix release script tag reference

- Add v2.0.7 changelog entry
- Fix release.mjs to use version tag instead of last git tag
This commit is contained in:
Uglyboy 2026-04-24 10:10:03 +08:00
parent 85f30ef468
commit 04f826cb6c
2 changed files with 19 additions and 2 deletions

View file

@ -1,5 +1,23 @@
# Changelog # Changelog
## 2.0.7 (2026-04-22)
### Features
- **types**: add CSS modules type declarations
### Refactoring
- **code**: various code improvements and fixes
- **view**: rename view.ts to view.tsx for React component
- **plugin-entry**: rename plugin.ts to main.ts and update config
- **plugin-architecture**: simplify plugin architecture by removing features system
### Chores
- **deps**: update dependencies and release workflow
- **config**: improve view lifecycle and update configuration
- **deps**: upgrade dependencies to latest versions
**Full Changelog**: https://github.com/uglyboy-tl/obsidian-ink-player/compare/2.0.6...2.0.7
## 2.0.6 (2026-04-18) ## 2.0.6 (2026-04-18)
### Features ### Features

View file

@ -59,8 +59,7 @@ function main() {
run(`npm_package_version=${version} bun run scripts/version-bump.mjs`); run(`npm_package_version=${version} bun run scripts/version-bump.mjs`);
console.log("\nGenerating changelog..."); console.log("\nGenerating changelog...");
const lastTag = execSync("git describe --tags --abbrev=0").toString().trim(); run(`bun run scripts/changelog.mjs ${version}`);
run(`bun run scripts/changelog.mjs ${lastTag}`);
console.log("\nStaging all files..."); console.log("\nStaging all files...");
run("git add ."); run("git add .");