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
Releasing is performed using Angular's unified release tooling. Each week, two releases are expected, `latest` and `next` on npm.
75
67
76
68
**DURING a minor OR major CLI release:**
77
69
78
-
Once FW releases the actual minor/major release (for example: `13.0.0` or `13.1.0`), the above versions should be updated to match (remove
79
-
`-rc.0` and `-next.0`). This **must** be done as a separate PR which lands _after_ FW releases (or else CI will fail) but _before_ the CLI
70
+
Once FW releases the actual minor/major release (for example: `13.0.0` or `13.1.0`), update dependencies with the following:
71
+
72
+
1. Run `sed -i -E "s, \|\| \^13\.1\.0-(next|rc)\.[0-9]+,,g" packages/**/package.json` with the release version to remove prerelease tags.
73
+
- No need to update `devDependencies` in the root `package.json`, Renovate will get them later.
74
+
2. Update [`latest-versions/package.json`](packages/schematics/angular/utility/latest-versions/package.json) so `@angular/core` and `ng-packagr` are using the release version (drop `-rc.0` / `-next.0`).
75
+
- This is the file used by `ng new` to determine versions in the generated `package.json` seen by developers.
76
+
3. Run `yarn -s bazel run @npm2//:sync` to update the pnpm lockfile.
77
+
78
+
Merge the above two changes in a separate PR which lands _after_ FW releases (or else CI will fail) but _before_ the CLI
80
79
release PR. Releases are built before the PR is sent for review, so any changes after that point won't be included in the release.
0 commit comments