diff --git a/.changeset/config.json b/.changeset/config.json index d826f57cc65..af251e02462 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -6,5 +6,5 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["docs", "example-*", "codesandbox"] + "ignore": ["docs", "example-*", "codesandbox", "rollup-plugin-import-css"] } diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 00000000000..0a3c042c958 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,12 @@ +{ + "mode": "pre", + "tag": "rc", + "initialVersions": { + "docs": "1.0.0", + "codesandbox": "0.0.0", + "example-nextjs": "0.0.0", + "@primer/react": "36.27.0", + "rollup-plugin-import-css": "0.0.0" + }, + "changesets": [] +} diff --git a/.github/workflows/release_canary.yml b/.github/workflows/release_canary.yml index 474344c80a1..a58ac8bcc33 100644 --- a/.github/workflows/release_canary.yml +++ b/.github/workflows/release_canary.yml @@ -41,6 +41,11 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }} - name: Publish canary release run: | + # Remove existing pre.json if one exists. Snapshots are not allowed + # in pre-release mode. + # TODO: remove in v37 + rm .changeset/pre.json + echo -e "---\n$( jq .name packages/react/package.json ): patch\n---\n\nFake entry to force publishing" > .changeset/force-snapshot-release.md npx changeset version --snapshot npx changeset publish --tag canary