Skip to content

Commit 5a22c09

Browse files
committed
fix(ng-update): migrations not running for release candidate versions
7a433f6 set up the migrations for v9, but we actually forgot that we want to run migrations in the next and RC versions too.
1 parent 5f447c1 commit 5a22c09

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/cdk/schematics/migration.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
33
"schematics": {
44
"migration-v6": {
5-
"version": "6",
5+
"version": "6.0.0",
66
"description": "Updates the Angular CDK to v6",
77
"factory": "./ng-update/index#updateToV6"
88
},
99
"migration-v7": {
10-
"version": "7",
10+
"version": "7.0.0",
1111
"description": "Updates the Angular CDK to v7",
1212
"factory": "./ng-update/index#updateToV7"
1313
},
1414
"migration-v8": {
15-
"version": "8-beta",
15+
"version": "8.0.0",
1616
"description": "Updates the Angular CDK to v8",
1717
"factory": "./ng-update/index#updateToV8"
1818
},
1919
"migration-v9": {
20-
"version": "9",
20+
"version": "9.0.0-0",
2121
"description": "Updates the Angular CDK to v9",
2222
"factory": "./ng-update/index#updateToV9"
2323
},

src/material/schematics/migration.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
33
"schematics": {
44
"migration-v6": {
5-
"version": "6",
5+
"version": "6.0.0",
66
"description": "Updates Angular Material to v6",
77
"factory": "./ng-update/index#updateToV6"
88
},
99
"migration-v7": {
10-
"version": "7",
10+
"version": "7.0.0",
1111
"description": "Updates Angular Material to v7",
1212
"factory": "./ng-update/index#updateToV7"
1313
},
1414
"migration-v8": {
15-
"version": "8-beta",
15+
"version": "8.0.0",
1616
"description": "Updates Angular Material to v8",
1717
"factory": "./ng-update/index#updateToV8"
1818
},
1919
"migration-v9": {
20-
"version": "9",
20+
"version": "9.0.0-0",
2121
"description": "Updates Angular Material to v9",
2222
"factory": "./ng-update/index#updateToV9"
2323
},

0 commit comments

Comments
 (0)