From 39af6e4fac3623902f15c0ec19824b331d066c60 Mon Sep 17 00:00:00 2001 From: CRIMX Date: Tue, 15 Oct 2024 12:13:48 +0800 Subject: [PATCH] docs: add publish note --- README.template.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.template.md b/README.template.md index b954792..f1bd982 100644 --- a/README.template.md +++ b/README.template.md @@ -13,3 +13,13 @@ ``` npm add {{pkgName}} ``` + +## Publish New Version + +You can use [npm version](https://docs.npmjs.com/cli/v10/commands/npm-version) to bump version. + +``` +npm version patch + +git push --follow-tags +```