Skip to content

Commit 99b258d

Browse files
committed
docs: updates release documentation to include latest-versions/package.json and clarify what can be done in the release PR
1 parent 3f17fb8 commit 99b258d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

docs/process/release.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Releasing is performed using Angular's unified release tooling. Each week, two r
7474
After FW releases `-rc.0` for an upcoming minor/major version, update the corresponding version in:
7575

7676
- [`latest-versions.ts`](/packages/schematics/angular/utility/latest-versions.ts#L=18)
77+
- [`latest-versions/package.json`](/packages/schematics/angular/utility/latest-versions/package.json)
7778
- [`@angular-devkit/build-angular`](/packages/angular_devkit/build_angular/package.json)
7879
- [`@ngtools/webpack`](/packages/ngtools/webpack/package.json)
7980

@@ -86,18 +87,7 @@ which lands after FW releases (or else CI will fail) but _before_ the CLI releas
8687
built before the PR is sent for review, so any changes after that point won't be included in the
8788
release.
8889

89-
**For a major release:**
90-
91-
**As part of the release PR**, make sure to:
92-
93-
- modify
94-
[`latest-versions.ts`](https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/utility/latest-versions.ts#L18)
95-
so the Angular semver is updated from `~13.0.0-rc` to just `~13.0.0`.
96-
- This is the version generated in `ng new` schematics and needs to be updated to avoid having
97-
users generate projects with `-rc` in the dependencies.
98-
- update the
99-
[`ng-packagr`](https://github.com/angular/angular-cli/blob/main/packages/schematics/angular/utility/latest-versions/package.json#L15)
100-
dependency to a stable version (ex. from `^13.0.0-next.0` to `^13.0.0`).
90+
**Following a major release:**
10191

10292
When a release is transitioning from a prerelease to a stable release, the semver ranges for Angular
10393
dependencies within the packages' `package.json` files will need to be updated to remove the

0 commit comments

Comments
 (0)