Skip to content

Commit

Permalink
Mention the 2nd PR needed if you change a vversion
Browse files Browse the repository at this point in the history
  • Loading branch information
skitterm committed Sep 26, 2024
1 parent 3c9eaee commit 34f5677
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ If you wish to run the site-under-tests's server separately (e.g. to debug a spe

### PR Workflow with Changesets

Versioning and releasing is done using [changesets](https://github.com/changesets/changesets/blob/main/docs/intro-to-using-changesets.md). We use [Semantic Versioning](https://semver.org/).
Versioning and releasing is done using [changesets](https://github.com/changesets/changesets/blob/main/docs/intro-to-using-changesets.md).

If a change made in a PR requires any of the integration packages to be published, you must add a changeset to your branch specifying which packages should be published, what semver version they should be bumped to, and the reason for the change.
If a change made in a PR requires any of the integration packages to be published, you must add a changeset to your branch specifying which packages should be published, what version they should be bumped to (we use [Semantic Versioning](https://semver.org/)), and the reason for the change.

This is done by running `yarn changeset`, which will guide you through all of the above.

Commit the resulting changeset file with your other changes and push it up. This can happen at any time in the lifecycle of the branch.

After your PR is merged, if you included a changeset, the repo will auto-create a "Version Packages" PR that, when merged, will publish the new package versions to NPM. You can self-review and self-merge this PR.

#### Which packages do I publish?

2 guidelines for code changes that warrant publishing to NPM:
Expand Down

0 comments on commit 34f5677

Please sign in to comment.