Skip to content

Commit 4ebacb7

Browse files
authored
chore(changeset): enter prerelease mode for v37 (#4789)
* chore(changeset): enter pre-release mode for v37 * ci: remove snapshots when in pre mode * chore: add version info to all packages * Revert "chore: add version info to all packages" This reverts commit 4665bb3. * chore: update canary to remove pre.json when running --------- Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
1 parent 0b57996 commit 4ebacb7

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"access": "public",
77
"baseBranch": "main",
88
"updateInternalDependencies": "patch",
9-
"ignore": ["docs", "example-*", "codesandbox"]
9+
"ignore": ["docs", "example-*", "codesandbox", "rollup-plugin-import-css"]
1010
}

.changeset/pre.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"mode": "pre",
3+
"tag": "rc",
4+
"initialVersions": {
5+
"docs": "1.0.0",
6+
"codesandbox": "0.0.0",
7+
"example-nextjs": "0.0.0",
8+
"@primer/react": "36.27.0",
9+
"rollup-plugin-import-css": "0.0.0"
10+
},
11+
"changesets": []
12+
}

.github/workflows/release_canary.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
4242
- name: Publish canary release
4343
run: |
44+
# Remove existing pre.json if one exists. Snapshots are not allowed
45+
# in pre-release mode.
46+
# TODO: remove in v37
47+
rm .changeset/pre.json
48+
4449
echo -e "---\n$( jq .name packages/react/package.json ): patch\n---\n\nFake entry to force publishing" > .changeset/force-snapshot-release.md
4550
npx changeset version --snapshot
4651
npx changeset publish --tag canary

0 commit comments

Comments
 (0)