mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
docs: Update policy on LTS fixes
This commit adds guidance on when to merge commits into LTS branches and how PRs should be opened.
This commit is contained in:
parent
cad8154ba3
commit
75c5cb26af
@ -81,6 +81,20 @@ instance), then you will need to fetch the contributor's branch for your local
|
|||||||
Git instance to have knowledge of the commit being cherry picked onto the patch
|
Git instance to have knowledge of the commit being cherry picked onto the patch
|
||||||
branch.
|
branch.
|
||||||
|
|
||||||
|
### Maintaining LTS branches
|
||||||
|
|
||||||
|
Releases that are under Long Term Support (LTS) are listed on [angular.io](https://angular.io/guide/releases#support-policy-and-schedule).
|
||||||
|
|
||||||
|
Since there could be more than one LTS branch at any one time, PR authors who want to
|
||||||
|
merge commits into LTS branches must open a pull request against the specific base branch they'd like to target.
|
||||||
|
|
||||||
|
In general, cherry picks for LTS should only be done if it meets one of the criteria below:
|
||||||
|
|
||||||
|
1. It addresses a critical security vulnerability.
|
||||||
|
2. It fixes a breaking change in the external environment.
|
||||||
|
For example, this could happen if one of the dependencies is deleted from NPM.
|
||||||
|
3. It fixes a legitimate failure on CI for a particular LTS branch.
|
||||||
|
|
||||||
# Release
|
# Release
|
||||||
|
|
||||||
## Before releasing
|
## Before releasing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user