From 8b7aaf541281c6d827060db3ed4627d5ab1e073f Mon Sep 17 00:00:00 2001 From: Stefanos Anagnostou Date: Wed, 2 Oct 2024 18:33:23 +0300 Subject: [PATCH 1/2] chore(repo): Add documentation for the major bump check functionality --- docs/PUBLISH.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/PUBLISH.md b/docs/PUBLISH.md index bb72a2a385..41d97b0074 100644 --- a/docs/PUBLISH.md +++ b/docs/PUBLISH.md @@ -6,6 +6,8 @@ _Note: Only Clerk employees can trigger the actions described below._ We are using [changesets](https://github.com/changesets/changesets), so our CICD is using [`changesets/action`](https://github.com/changesets/action) to automate the release process when releasing stable package versions targeting the `@latest` tag. +**Important:** In order to merge PRs that include changesets with **major** version bumps, you need to comment `!allow-major` in the PR. This is to ensure that major version bumps are intentional and not accidental. **Note:** Ensure that your Clerk organization membership status is set to "Public". To set your status to "Public", follow [these steps](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/publicizing-or-hiding-organization-membership). + Every time a PR is merged into `main`, the changesets action parses all changesets found in `.changeset` and updates the "ci(repo): Version packages" PR with the new package versions and the changelog for the next stable release. To release a new stable version of all Clerk packages, find the "ci(repo): Version packages" PR, verify the changes, and merge it. From 6530917e4dc81ad45903bc13ff67b46f2b82ae60 Mon Sep 17 00:00:00 2001 From: Stefanos Anagnostou Date: Wed, 2 Oct 2024 18:34:07 +0300 Subject: [PATCH 2/2] Add changeset --- .changeset/blue-seals-build.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changeset/blue-seals-build.md diff --git a/.changeset/blue-seals-build.md b/.changeset/blue-seals-build.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/blue-seals-build.md @@ -0,0 +1,2 @@ +--- +---