add version bump script (#10)

This commit is contained in:
aidenlx
2022-01-23 05:13:50 +08:00
committed by GitHub
parent 4f502e92eb
commit f3286063d3
6 changed files with 24 additions and 4 deletions

View File

@@ -36,6 +36,9 @@ Quick starting guide for new plugin devs:
- Upload the files `manifest.json`, `main.js`, `styles.css` as binary attachments. Note: The manifest.json file must be in two places, first the root path of your repository and also in the release.
- Publish the release.
> You can simplify the version bump process by running `npm version patch`, `npm version minor` or `npm version major` after updating `minAppVersion` manually in `manifest.json`.
> The command will bump version in `manifest.json` and `package.json`, and add the entry for the new version to `versions.json`
### Adding your plugin to the community plugin list
- Check https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md