Skip to content

Commit bfa69d1

Browse files
committed
ci: configure RN to release as a prerelease version
This is to prep a major version update of RN
1 parent 9426b42 commit bfa69d1

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@ jobs:
248248
with:
249249
workspace_path: packages/sdk/react-native
250250
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
251+
# React Native SDK v11 is a breaking major version currently released as a
252+
# prerelease, so npm publishes it under the generic `prerelease` dist-tag
253+
# rather than `latest`, which keeps pointing at v10 until GA. Remove this
254+
# line, and the matching `prerelease` entries in release-please-config.json,
255+
# once v11 goes GA.
256+
prerelease: true
251257

252258
release-browser:
253259
runs-on: ubuntu-latest

release-please-config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144
]
145145
},
146146
"packages/sdk/react-native": {
147+
"prerelease": true,
148+
"prerelease-type": "beta",
147149
"extra-files": [
148150
"src/platform/PlatformInfo.ts",
149151
{

0 commit comments

Comments
 (0)