docs(readme): add guide to use `npm version` to bump version

This commit is contained in:
aidenlx 2021-10-29 23:32:17 +08:00
parent 496c6c1c9c
commit 750e319a92
1 changed files with 3 additions and 0 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. - 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. - Publish the release.
> You can simplify the version bump process by running `npm version patch`, `npm version minor` or `npm version major` after updating minimum-obsidian-version manually in `manifest.json`.
> The command will bump version in `manifest.json` and `package.json`, and add the entry for the new vesion to `versions.json`
### Adding your plugin to the community plugin list ### Adding your plugin to the community plugin list
- Check https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md - Check https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md