Skip to content

Commit

Permalink
build: prepare for v15 and exceptional minors for v14 (#25146)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Jul 13, 2022
1 parent 5b2ea92 commit 8fac6fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .ng-dev/pull-request.mts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ export const pullRequest: PullRequestConfig = {
mergeReadyLabel: 'merge ready',
commitMessageFixupLabel: 'commit message fixup',
caretakerNoteLabel: 'caretaker note',

// TODO(EXCEPTIONAL_MINOR): Remove this when v15 moves into RC / or when exceptional
// minors are supported.
__specialTreatRcAsExceptionalMinor: true,
};
12 changes: 10 additions & 2 deletions scripts/docs-deploy/deploy-ci-push.mts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ async function main() {

if (branchName === active.next.branchName) {
const major = active.next.version.major;
const targets = [{projectId, description, site: sites.next}];

const targets = [
// TODO(EXCEPTIONAL_MINOR): Restore the original logic for `next.material.angular.io`.
// {projectId, description, site: sites.next}
];

// If the next release train is for a new major that is not published as part of the
// other active release trains, we also publish to e.g. `v14.material.angular.io`.
Expand Down Expand Up @@ -68,7 +72,11 @@ async function main() {

if (branchName === active.releaseCandidate?.branchName) {
const major = active.releaseCandidate.version.major;
const targets = [{projectId, description, site: sites.rc}];
const targets = [
// TODO(EXCEPTIONAL_MINOR): Restore the original logic for `next.material.angular.io`.
{projectId, description, site: sites.next},
{projectId, description, site: sites.rc},
];

// If the RC is for a new major that `latest` does not publish yet, we will deploy
// the dedicated major site like `v13.material.angular.io` using the `rc` branch.
Expand Down

0 comments on commit 8fac6fe

Please sign in to comment.