Skip to content

Commit e0a1a94

Browse files
committed
docs: update release documentation regarding prerelease semver ranges
When transitioning from prerelease to stable, several SemVer ranges for packages referenced in the `package.json` files need to be adjusted so that the unsupported prerelease versions are not mentioned in the final stable release.
1 parent 6a8f1dd commit e0a1a94

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/process/release.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ In general, cherry picks for LTS should only be done if it meets one of the crit
5555

5656
Releasing is performed using Angular's unified release tooling. Each week, two releases are expected, `latest` and `next` on npm.
5757

58+
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.
59+
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.
60+
The current packages that require adjustment are:
61+
62+
- `@angular-devkit/build-angular`: packages/angular_devkit/build_angular/package.json
63+
- `@ngtools/webpack`: packages/ngtools/webpack/package.json
64+
5865
To perform a release run the following and navigate the prompts:
5966

6067
```sh

0 commit comments

Comments
 (0)