Skip to content

Commit 3043261

Browse files
authored
Contributing: rename script and add info note (facebook#3815)
1 parent b73caa0 commit 3043261

File tree

5 files changed

+23
-7
lines changed

5 files changed

+23
-7
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:::info
2+
For versions older than 0.70, you need to run `./scripts/bump-oss-version.js` instead.
3+
:::

website/contributing/release-branch-cut-and-rc0.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Branch Cut & RC0
44
---
55

66
import AsyncTestingNote from './\_markdown-async-testing-note.mdx';
7+
import BumpOSSNote from './\_markdown-older-bump-script.mdx';
78
import GHReleasesNotesPrerelease from './\_markdown-GH-release-notes-prerelease.mdx';
89
import RoadToReleaseTemplate from './\_markdown-road-to-release-template.mdx';
910

@@ -63,11 +64,13 @@ Before continuing further, follow the [testing guide](/contributing/release-test
6364

6465
Once you're done with the testing, you can kick-off the bump and publishing of RC0:
6566

66-
```
67+
```bash
6768
# This will walk you through what version you are releasing
68-
./scripts/bump-oss-version.js --to-version 0.69.0-rc.0 --token <YOUR_CIRCLE_CI_TOKEN>
69+
yarn trigger-react-native-release --to-version 0.69.0-rc.0 --token <YOUR_CIRCLE_CI_TOKEN>
6970
```
7071

72+
<BumpOSSNote/>
73+
7174
- Once you have run that script, head to CircleCI and you should see under the releases workflow, a `prepare-package-for-release` job.
7275

7376
<figure>

website/contributing/release-candidate-patch.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: RC Patches
55

66
import AsyncTestingNote from './\_markdown-async-testing-note.mdx';
77
import GHReleasesNotesPrerelease from './\_markdown-GH-release-notes-prerelease.mdx';
8+
import BumpOSSNote from './\_markdown-older-bump-script.mdx';
89

910
:::info
1011
Documents in this section go over steps to run different types of React Native release updates. Its intended audience is those in [relevant release roles](./release-roles-responsibilites.md).
@@ -46,17 +47,19 @@ Before continuing further, follow the [testing guide](/contributing/release-test
4647

4748
<AsyncTestingNote/>
4849

49-
### 4. Run `bump-oss-version` script
50+
### 4. Run `trigger-react-native-release` script
5051

5152
```bash
5253
# once verified all the cherry-picked commits, we can push them to remote
5354
git push
5455

5556
# run a script to bump the version
5657
# You **do not** want this release marked as "latest"!
57-
./scripts/bump-oss-version.js --to-version 0.y.0-rc.x --token <YOUR_CIRCLE_CI_TOKEN>
58+
yarn trigger-react-native-release --to-version 0.y.0-rc.x --token <YOUR_CIRCLE_CI_TOKEN>
5859
```
5960

61+
<BumpOSSNote />
62+
6063
### 5. Watch CircleCI to ensure right jobs are being triggered
6164

6265
- Once you have run the bump script script, head to CircleCI and you should see under the releases workflow, a `prepare-package-for-release` job.

website/contributing/release-stable-minor.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ id: release-stable-minor
33
title: Minor Stable 0.Y.0
44
---
55

6+
import BumpOSSNote from './\_markdown-older-bump-script.mdx';
7+
68
:::info
79
Documents in this section go over steps to run different types of React Native release updates. Its intended audience is those in [relevant release roles](./release-roles-responsibilites.md).
810
:::
@@ -23,12 +25,14 @@ Documents in this section go over steps to run different types of React Native r
2325
# Make sure you are on the release branch of the version
2426
git checkout -b 0.Y-stable
2527

26-
./scripts/bump-oss-version.js --to-version 0.Y.0 --token <YOUR_CIRCLE_CI_TOKEN>
28+
yarn trigger-react-native-release --to-version 0.Y.0 --token <YOUR_CIRCLE_CI_TOKEN>
2729
> Do you want this to be latest?
2830
# Reply to this prompt with "yes".
2931
# This updates npm registry to point to this version as "latest"
3032
```
3133

34+
<BumpOSSNote />
35+
3236
When this is done, all the other PRs (changelog, documentation, blog post) should also get merged.
3337

3438
### 2. Update the GitHub releases

website/contributing/release-stable-patch.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Minor Stable Patches
44
---
55

66
import AsyncTestingNote from './\_markdown-async-testing-note.mdx';
7+
import BumpOSSNote from './\_markdown-older-bump-script.mdx';
78

89
:::info
910
Documents in this section go over steps to run different types of React Native release updates. Its intended audience is those in [relevant release roles](./release-roles-responsibilites.md).
@@ -62,17 +63,19 @@ Before continuing further, follow the [testing guide](/contributing/release-test
6263

6364
<AsyncTestingNote/>
6465

65-
### 4. Run `bump-oss-version` script
66+
### 4. Run `trigger-react-native-release` script
6667

6768
```bash
6869
# once verified all the cherry-picked commits, we can push them to remote
6970
git push
7071

7172
# run a script to bump the version
7273
# If you are doing this patch release for the current latest minor, then mark it as "latest"
73-
./scripts/bump-oss-version.js --to-version x.y.z --token <YOUR_CIRCLE_CI_TOKEN>
74+
yarn trigger-react-native-release --to-version x.y.z --token <YOUR_CIRCLE_CI_TOKEN>
7475
```
7576

77+
<BumpOSSNote />
78+
7679
### 5. Watch CircleCI to ensure right jobs are being triggered
7780

7881
- Once you have run the bump script script, head to CircleCI and you should see under the releases workflow, a `prepare-package-for-release` job.

0 commit comments

Comments
 (0)