Skip to content

Commit ecf5cff

Browse files
committed
docs: add note about switching FW dependencies off of -rc.0 and -next.0 before the production release
Also turns two unrelated file references into links because it's been bugging me for ages but I was never willing to go out of my way for a separate commit or PR, and including it into another PR is kinda mixing concerns, but also who cares, so I'm just gonna do it now and hope no one notices, rant over.
1 parent 7bcc18e commit ecf5cff

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/process/release.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,19 @@ FW `-rc.0`.
6666
The same needs to be done for a `-next.0` release, and needs to be done for both minor _and_ major
6767
releases.
6868

69+
Once FW releases the actual minor/major release (for example: `13.0.0` or `13.1.0`), these versions
70+
should be updated to match (remove `-rc.0` and `-next.0`). This can be done as part of the release
71+
PR ([example](https://github.com/angular/angular-cli/pull/22580/files#diff-53a0da39e6b029472ba808fdd567f8706e752434fa51be6009f0140532b9fe2f))
72+
or a separate PR after FW releases but before CLI releases.
73+
6974
**For a major release:**
7075

7176
When a release is transitioning from a prerelease to a stable release, the semver ranges for Angular dependencies within the packages' `package.json` files will need to be updated to remove the prerelease version segment.
7277
For example, `"@angular/compiler-cli": "^13.0.0 || ^13.0.0-next"` in a prerelease should become `"@angular/compiler-cli": "^13.0.0"` in the stable release.
7378
The current packages that require adjustment are:
7479

75-
- `@angular-devkit/build-angular`: packages/angular_devkit/build_angular/package.json
76-
- `@ngtools/webpack`: packages/ngtools/webpack/package.json
80+
- `@angular-devkit/build-angular`: [packages/angular_devkit/build_angular/package.json](/packages/angular_devkit/build_angular/package.json)
81+
- `@ngtools/webpack`: [packages/ngtools/webpack/package.json](/packages/ngtools/webpack/package.json)
7782

7883
## Releasing the CLI
7984

0 commit comments

Comments
 (0)