mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
Update changeset base branch (#11632)
This commit is contained in:
parent
a7dba90e30
commit
bbd8bfda92
2 changed files with 7 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
||||||
"commit": false,
|
"commit": false,
|
||||||
"linked": [],
|
"linked": [],
|
||||||
"access": "public",
|
"access": "public",
|
||||||
"baseBranch": "main",
|
"baseBranch": "next",
|
||||||
"updateInternalDependencies": "patch",
|
"updateInternalDependencies": "patch",
|
||||||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
|
||||||
"onlyUpdatePeerDependentsWhenOutOfRange": true
|
"onlyUpdatePeerDependentsWhenOutOfRange": true
|
||||||
|
|
|
@ -369,20 +369,22 @@ Full documentation: https://github.com/changesets/changesets/blob/main/docs/prer
|
||||||
|
|
||||||
### Entering prerelease mode
|
### Entering prerelease mode
|
||||||
|
|
||||||
If you have gotten permission from the core contributors, you can enter into prerelease mode by following the following steps:
|
If you have gotten permission from the core contributors, you can enter into prerelease mode with the following steps:
|
||||||
|
|
||||||
- Run: `pnpm exec changeset pre enter next` in the project root
|
- Run: `pnpm exec changeset pre enter next` in the project root
|
||||||
|
- Update `.changeset/config.json` with `"baseBranch": "next"` (for easier changesets creation)
|
||||||
- Create a new PR from the changes created by this command
|
- Create a new PR from the changes created by this command
|
||||||
- Review, approve, and more the PR to enter prerelease mode.
|
- Review, approve, and merge the PR to enter prerelease mode.
|
||||||
- If successful, The "[ci] release" PR (if one exists) will now say "[ci] release (next)".
|
- If successful, The "[ci] release" PR (if one exists) will now say "[ci] release (next)".
|
||||||
|
|
||||||
### Exiting prerelease mode
|
### Exiting prerelease mode
|
||||||
|
|
||||||
Exiting prerelease mode should happen once an experimental release is ready to go from `npm install astro@next` to `npm install astro`. Only a core contributor run these steps. These steps should be run before
|
Exiting prerelease mode should happen once an experimental release is ready to go from `npm install astro@next` to `npm install astro`. Only a core contributor can run these steps:
|
||||||
|
|
||||||
- Run: `pnpm exec changeset pre exit` in the project root
|
- Run: `pnpm exec changeset pre exit` in the project root
|
||||||
|
- Update `.changeset/config.json` with `"baseBranch": "main"`
|
||||||
- Create a new PR from the changes created by this command.
|
- Create a new PR from the changes created by this command.
|
||||||
- Review, approve, and more the PR to enter prerelease mode.
|
- Review, approve, and merge the PR to enter prerelease mode.
|
||||||
- If successful, The "[ci] release (next)" PR (if one exists) will now say "[ci] release".
|
- If successful, The "[ci] release (next)" PR (if one exists) will now say "[ci] release".
|
||||||
|
|
||||||
### Releasing `astro@latest` while in prerelease mode
|
### Releasing `astro@latest` while in prerelease mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue