From 8b5a7369e834f460db16a74027b97691438490d2 Mon Sep 17 00:00:00 2001 From: Cedoor Date: Fri, 14 Jun 2024 15:30:41 +0100 Subject: [PATCH] docs: update README.md --- README.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ce32e28..bcce619 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ Package Version Downloads + Audited @@ -85,6 +86,9 @@ Downloads + + ❌ + @@ -104,6 +108,11 @@ Downloads + + + ✔️ + + @@ -123,6 +132,9 @@ Downloads + + ❌ + @@ -192,12 +204,26 @@ yarn compile ### Releases -Bump a new version for your package with: +1. Bump a new version of the package with: ```bash yarn version:bump # e.g. yarn version:bump utils 2.0.0 ``` -It will create a commit and a git tag that you'll need to push on the main branch. A workflow will be triggered and will -publish your package on [npm](https://www.npmjs.com/) and release a new version on Github with its changelogs automatically. +This step creates a commit and a git tag. + +2. Push the changes to main: + +```bash +git push origin main +``` + +3. Push the new git tag: + +```bash +git push origin - +# e.g. git push origin utils-v2.0.0 +``` + +After pushing the new git tag, a workflow will be triggered and will publish the package on [npm](https://www.npmjs.com/) and release a new version on Github with its changelogs automatically.