Skip to content

Commit 3c60064

Browse files
kraenhansenclaude
andcommitted
Cut pre-releases from a "next" branch
Enters changeset pre mode with the "rc" tag and lets the release workflow run on this branch, so 2.0.0-rc.N can be published under the "rc" dist tag while main keeps releasing stable versions. Pre mode is repo-wide state (.changeset/pre.json lists every package), which is why it lives here rather than on main. Exit pre mode before merging this branch back into main. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 8a15546 commit 3c60064

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

.changeset/pre.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"mode": "pre",
3+
"tag": "rc",
4+
"initialVersions": {
5+
"@react-native-node-api/test-app": "0.2.2",
6+
"@react-native-node-api/cli-utils": "0.1.4",
7+
"cmake-file-api": "0.1.2",
8+
"cmake-rn": "0.6.3",
9+
"ferric-cli": "0.3.11",
10+
"@react-native-node-api/ferric-example": "0.1.2",
11+
"gyp-to-cmake": "0.5.3",
12+
"react-native-node-api": "1.0.1",
13+
"@react-native-node-api/node-addon-examples": "0.1.1",
14+
"@react-native-node-api/node-tests": "0.1.1",
15+
"weak-node-api": "0.1.1"
16+
},
17+
"changesets": []
18+
}

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
push:
1515
branches:
1616
- main
17+
# Pre-releases (changesets pre mode, "rc" tag) are cut from this branch, so
18+
# the stable release cadence on main is unaffected.
19+
- next
1720

1821
concurrency: ${{ github.workflow }}-${{ github.ref }}
1922

0 commit comments

Comments
 (0)