You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the merge-to-preview PR is merged, create a version bump PR targeting `preview`.
100
+
After the merge-to-preview PR is merged, create a version bump PR targeting `test-preview` by running the version bump script with the `--preview` flag:
101
+
102
+
```bash
103
+
./scripts/version-bump.sh <new_version> --preview
104
+
```
105
+
106
+
For example: `./scripts/version-bump.sh 2.5.1-preview --preview`
107
+
108
+
The script will automatically:
109
+
1. Read the current version from `src/version.ts` on the `test-preview` branch.
110
+
2. Create a new branch from `test-preview` named `<username>/version-<new_version>` (e.g., `linglingye/version-2.5.1-preview`).
111
+
3. Update the version in all four files (`src/version.ts`, `package.json`, `package-lock.json` lines 3 and 9).
112
+
4. Commit, push, and create a PR to `test-preview` with title: `Version bump <new_version>`.
96
113
97
-
1. Read the current version from `src/version.ts` on the `preview` branch.
98
-
2. Create a new branch from `preview` named `<username>/version-<new_version>` (e.g., `linglingye/version-2.4.1-preview`).
99
-
3. Update the version in all four files:
100
-
-`src/version.ts` (line 4)
101
-
-`package.json` (line 3)
102
-
-`package-lock.json` (line 3 and line 9)
103
-
4. Commit the changes with message: `version bump <new_version>`.
104
-
5. Push the branch and create a PR to `preview` with title: `Version bump <new_version>`.
114
+
When the script prompts `Proceed? [y/N]`, confirm by entering `y`.
105
115
106
116
#### Step 3: Merge Preview to Release Branch
107
117
108
-
After the version bump PR is merged, create a PR to merge `preview` into the preview release branch.
118
+
After the version bump PR is merged, create a PR to merge `test-preview` into the preview release branch.
109
119
110
120
1. Determine the major version from the new version string (e.g., `2` from `2.4.1-preview`).
111
-
2. Create a PR from `preview` → `release/v{major}` (e.g., `release/v2`).
112
-
3. Title the PR: `Merge preview to release/v{major}`.
121
+
2. Create a PR from `test-preview` → `test-release/v{major}` (e.g., `test-release/v2`).
122
+
3. Title the PR: `Merge test-preview to test-release/v{major}`.
113
123
114
124
> **Important**: Use "Merge commit" (not squash) when merging this PR.
0 commit comments