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
docs: add latest-versions.ts bump to minor/major version release instructions
In v13.1, we forgot to increment this value and caused an error for early adopters of `13.1.0`. CI should catch this mistake now, and these docs will serve as a reminder to bump the value before release.
(cherry picked from commit 6fdfe97)
Copy file name to clipboardExpand all lines: docs/process/release.md
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,14 +55,26 @@ In general, cherry picks for LTS should only be done if it meets one of the crit
55
55
56
56
Releasing is performed using Angular's unified release tooling. Each week, two releases are expected, `latest` and `next` on npm.
57
57
58
+
**For a minor OR major release:**
59
+
60
+
After FW releases `-rc.0` for an upcoming minor/major version, update the corresponding version in
61
+
[`latest-versions.ts`](/packages/schematics/angular/utility/latest-versions.ts#L=18) to match. This
62
+
ensures that CLI `-rc.0` depends on FW `-rc.0`. The same needs to be done for a `-next.0` release,
63
+
and needs to be done for both minor _and_ major releases.
64
+
65
+
**For a major release:**
66
+
58
67
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
68
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.
0 commit comments