File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,26 @@ import { $, echo } from 'zx';
44
55import { constants } from './common.mjs' ;
66
7+ const snapshot = `---
8+ 'gatsby-plugin-clerk': patch
9+ '@clerk/chrome-extension': patch
10+ '@clerk/localizations': patch
11+ '@clerk/clerk-js': patch
12+ '@clerk/clerk-sdk-node': patch
13+ '@clerk/backend': patch
14+ '@clerk/fastify': patch
15+ '@clerk/nextjs': patch
16+ '@clerk/shared': patch
17+ '@clerk/themes': patch
18+ '@clerk/clerk-react': patch
19+ '@clerk/remix': patch
20+ '@clerk/types': patch
21+ '@clerk/clerk-expo': patch
22+ ---
23+
24+ Canary release
25+ ` ;
26+
727await $ `npx json -I -f ${ constants . ChangesetConfigFile } -e "this.changelog = false"` ;
828
929try {
1333 // this will remove the prerelease versions
1434 // but will also clear the changeset .md files
1535 await $ `npx changeset version` ;
36+ // generate a temp .md file that indicates that all packages have changes
37+ // in order to force a snapshot release
38+ await $ `touch .changeset/snap.md && echo ${ snapshot } > .changeset/snap.md` ;
1639} catch ( e ) {
1740 // otherwise, do nothing
1841}
You can’t perform that action at this time.
0 commit comments