with one click
release
// Use when releasing a new version of this plugin — version needs bumping across package.json, manifest.json, versions.json, then tagged and pushed
// Use when releasing a new version of this plugin — version needs bumping across package.json, manifest.json, versions.json, then tagged and pushed
| name | release |
| description | Use when releasing a new version of this plugin — version needs bumping across package.json, manifest.json, versions.json, then tagged and pushed |
Bump version across all metadata files, refresh the lockfile, commit, tag, and push. This project uses date-based versioning (YY.MM.DD).
YY.MM.DD — e.g. 26.05.08 for 2026-05-08. Append -2, -3 for multiple same-day releases.
Run before touching any version files. Do not proceed if either fails.
pnpm run build # must exit 0
pnpm test # must exit 0
Pull latest master
git checkout master && git pull origin master
Update version in package.json and manifest.json to the new date version.
Refresh lockfile
pnpm install
Sync manifest.json and versions.json via the version bump script:
npm_package_version=<NEW_VERSION> node scripts/version-bump.mjs
Note:
version-bump.mjsonly adds an entry toversions.jsonwhenminAppVersionhasn't been seen before. If skipped, add"<NEW>": "0.12.0"toversions.jsonmanually.
Stage and commit
git add package.json pnpm-lock.yaml manifest.json versions.json
git commit -m "<NEW_VERSION>"
Tag (no v prefix — Obsidian guideline)
git tag <NEW_VERSION>
Push commit and tag
git push origin master
git push origin <NEW_VERSION>
pnpm run build)pnpm test)package.json version matches new versionmanifest.json version matches new versionversions.json has entry for new versionpnpm-lock.yaml updated (pnpm install run)main.js, manifest.json, styles.css as release assets)pnpm install — lockfile drifts from package.jsongit push origin master vs git push origin <TAG>)