Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor authored Jun 14, 2024
1 parent 3b19355 commit 8b5a736
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<th>Package</th>
<th>Version</th>
<th>Downloads</th>
<th>Audited</th>
<tbody>
<tr>
<td>
Expand All @@ -85,6 +86,9 @@
<img src="https://img.shields.io/npm/dm/@zk-kit/imt.sol.svg?style=flat-square" alt="Downloads" />
</a>
</td>
<td>
</td>
</tr>
<tr>
<td>
Expand All @@ -104,6 +108,11 @@
<img src="https://img.shields.io/npm/dm/@zk-kit/lean-imt.sol.svg?style=flat-square" alt="Downloads" />
</a>
</td>
<td>
<a href="https://semaphore.pse.dev/Semaphore_4.0.0_Audit.pdf">
✔️
</a>
</td>
</tr>
<tr>
<td>
Expand All @@ -123,6 +132,9 @@
<img src="https://img.shields.io/npm/dm/@zk-kit/lazy-imt.sol.svg?style=flat-square" alt="Downloads" />
</a>
</td>
<td>
</td>
</tr>
<tbody>
</table>
Expand Down Expand Up @@ -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 <package-name> <version>
# 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 <package-name>-<version>
# 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.

0 comments on commit 8b5a736

Please sign in to comment.