From 750e319a92f6cb9651daff5d9d302c5e62542953 Mon Sep 17 00:00:00 2001 From: aidenlx Date: Fri, 29 Oct 2021 23:32:17 +0800 Subject: [PATCH] docs(readme): add guide to use `npm version` to bump version --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 39af258..6ca29c4 100644 --- a/README.md +++ b/README.md @@ -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 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 - Check https://github.com/obsidianmd/obsidian-releases/blob/master/plugin-review.md