Obsidian Plugin Release
This is the release checklist for the packaged Obsidian plugin that ships through GitHub Releases.
Use this when you want to publish a new plugin version for manual installs.
Release Inputs
The release version must match in both files:
apps/obsidian-plugin/package.jsonapps/obsidian-plugin/manifest.json
The release workflow validates that the pushed tag matches that plugin version.
What The Release Produces
Running the packaging script creates these files in dist/obsidian-plugin-release:
openagent-obsidian-plugin-vX.Y.Z.zipmain.jsmanifest.jsonstyles.cssSHA256SUMS.txtrelease-notes.md
The zip is the recommended install artifact. It expands to .obsidian/plugins/openagent.
Local Prep
- Update
apps/obsidian-plugin/package.jsonandapps/obsidian-plugin/manifest.jsonto the new version. - Run:
pnpm run check
node ./scripts/package-obsidian-plugin-release.mjs vX.Y.Z
- Confirm the generated files in
dist/obsidian-plugin-release.
Publish Flow
Important: create the tag after the release commit exists. Do not tag an older commit and then commit the version bump afterward.
- Commit the release changes on
main. - Push
main. - Create the annotated tag on the release commit:
git tag -a vX.Y.Z -m "OpenAgent Obsidian Plugin vX.Y.Z"
- Push the tag:
git push origin vX.Y.Z
Pushing the tag triggers .github/workflows/release-obsidian-plugin.yml.
Verify On GitHub
After the workflow finishes, check the GitHub release for:
openagent-obsidian-plugin-vX.Y.Z.zipmain.jsmanifest.jsonstyles.cssSHA256SUMS.txt
Release notes come from dist/obsidian-plugin-release/release-notes.md.
Recovery Notes
If the workflow fails with a version mismatch, the tag probably points at the wrong commit.
Typical fix:
- Delete the bad local tag:
git tag -d vX.Y.Z - Delete the bad remote tag:
git push origin :refs/tags/vX.Y.Z - Recreate the tag on the correct commit.
- Push the tag again.