-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add documentation for releasing packages (#4)
- Loading branch information
1 parent
4622cc4
commit d268afe
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |