From 3e07cbfb7ac940fb1e1b03896f683447b98a0904 Mon Sep 17 00:00:00 2001 From: Kenrick Date: Fri, 21 Apr 2023 21:55:10 +0800 Subject: [PATCH] docs: update deploy guide --- deploy.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/deploy.md b/deploy.md index 3b1fc2b..80e8a37 100644 --- a/deploy.md +++ b/deploy.md @@ -4,7 +4,17 @@ Publishing [@kenrick95/c4](https://www.npmjs.com/package/@kenrick95/c4) -``` -yarn workspace @kenrick95/c4 run build -yarn workspace @kenrick95/c4 publish -``` +1. Bump version + + ``` + yarn workspace @kenrick95/c4 version + ``` +2. Commit + tag + ``` + git commit -m "vx.x.x" + git tag vx.x.x + ``` +3. Publish to npm + ``` + yarn workspace @kenrick95/c4 npm publish + ```