Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit f8978c2

Browse files
authored
[PLA-2300] Add v1030 and v1060 metadata versions (#52)
1 parent 7b30a31 commit f8978c2

8 files changed

Lines changed: 16 additions & 2 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ doc/api/
2828
.flutter-plugins
2929
.flutter-plugins-dependencies
3030

31+
### Agent files
32+
AGENTS.md
33+

lib/consts/enjin/canary/canary.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ export 'v1031.dart';
1919
export 'v1032.dart';
2020
export 'v1033.dart';
2121
export 'v1050.dart';
22+
export 'v1060.dart';

lib/consts/enjin/canary/v1060.dart

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.

lib/consts/enjin/enjin.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'canary/canary.dart' as c;
22
import 'production/production.dart' as p;
33

44
String canaryLatest() {
5-
return c.v1050;
5+
return c.v1060;
66
}
77

88
String productionLatest() {
@@ -61,6 +61,8 @@ String canarySpec(specVersion) {
6161
return c.v1033;
6262
case 1050:
6363
return c.v1050;
64+
case 1060:
65+
return c.v1060;
6466
default:
6567
return canaryLatest();
6668
}

lib/consts/matrix/canary/canary.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ export 'v1020.dart';
1919
export 'v1021.dart';
2020
export 'v1022.dart';
2121
export 'v1023.dart';
22+
export 'v1030.dart';

lib/consts/matrix/canary/v1030.dart

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.

lib/consts/matrix/matrix.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'canary/canary.dart' as c;
22
import 'production/production.dart' as p;
33

44
String canaryLatest() {
5-
return c.v1023;
5+
return c.v1030;
66
}
77

88
String productionLatest() {
@@ -61,6 +61,8 @@ String canarySpec(specVersion) {
6161
return c.v1022;
6262
case 1023:
6363
return c.v1023;
64+
case 1030:
65+
return c.v1030;
6466
default:
6567
return canaryLatest();
6668
}

scripts/fetch_metadata.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ process_network() {
7979
update_exports "$base" "$category" "$environment" "$version"
8080

8181
echo "$network: v$version -> lib/consts/$category/$environment/v$version.dart"
82+
echo "REMINDER: Update lib/consts/$category/$category.dart to include case $version in the ${environment}Spec function"
8283
}
8384

8485
command -v jq >/dev/null || {

0 commit comments

Comments
 (0)