Skip to content

Commit

Permalink
chore: add documentation for releasing packages (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshladva authored Feb 16, 2024
1 parent 4622cc4 commit d268afe
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changeset/loud-planets-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
19 changes: 19 additions & 0 deletions docs/RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# How to release packages

Ensure that the pull request contains a created changeset using the command:

```shell
yarn changeset
```

If the changes do not require a release, you can run the following to generate an empty changeset:

```shell
yarn changeset --empty
```

Once this PR is merged, the Publish workflow will run and create a new PR titled `Version Packages`. This will be kept up to date by the workflow for every new changeset merged to the `main` branch.

To create a new release and publish a new version of any packages, you must merge this PR into `main`.

Once the Publish workflow has run again, the new version will be available on NPM.

0 comments on commit d268afe

Please sign in to comment.