Introduces a new release action for cutting a release-action by directly moving the next release-train into the `release-candidate` phase. This allows the Angular team to release minor versions without needing to branch-off first into the feature-freeze phase. For minors this phase can be skipped. Switching into the feature-freeze phase beforehand as a workaround would have allowed for branching-off but has the downside that `target: minor` would no longer point to the branched-off release train (only `target: rc` would work then). PR Close #42973
34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
import {ReleaseActionConstructor} from '../actions';
|
|
|
|
import {CutLongTermSupportPatchAction} from './cut-lts-patch';
|
|
import {CutNewPatchAction} from './cut-new-patch';
|
|
import {CutNextPrereleaseAction} from './cut-next-prerelease';
|
|
import {CutReleaseCandidateForFeatureFreezeAction} from './cut-release-candidate-for-feature-freeze';
|
|
import {CutStableAction} from './cut-stable';
|
|
import {MoveNextIntoFeatureFreezeAction} from './move-next-into-feature-freeze';
|
|
import {MoveNextIntoReleaseCandidateAction} from './move-next-into-release-candidate';
|
|
import {TagRecentMajorAsLatest} from './tag-recent-major-as-latest';
|
|
|
|
/**
|
|
* List of release actions supported by the release staging tool. These are sorted
|
|
* by priority. Actions which are selectable are sorted based on this declaration order.
|
|
*/
|
|
export const actions: ReleaseActionConstructor[] = [
|
|
TagRecentMajorAsLatest,
|
|
CutStableAction,
|
|
CutReleaseCandidateForFeatureFreezeAction,
|
|
CutNewPatchAction,
|
|
CutNextPrereleaseAction,
|
|
MoveNextIntoFeatureFreezeAction,
|
|
MoveNextIntoReleaseCandidateAction,
|
|
CutLongTermSupportPatchAction,
|
|
];
|