Skip to content

Commit 66823cf

Browse files
committed
fix(release): scope iOS version checks to native releases
1 parent c896b9b commit 66823cf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎scripts/check-changed.mts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,6 @@ export function createChangedCheckPlan(
738738
: ["--base", options.base ?? "origin/main", "--head", options.head ?? "HEAD"]),
739739
]);
740740
add("Android version sync", ["android:version:check"]);
741-
add("iOS version sync", ["ios:version:check"]);
742741
add("config schema baseline", ["config:schema:check"]);
743742
add("config docs baseline", ["config:docs:check"]);
744743
add("root dependency ownership", ["deps:root-ownership:check"]);

‎test/scripts/changed-lanes.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,8 @@ describe("scripts/changed-lanes", () => {
15921592
docs: true,
15931593
releaseMetadata: true,
15941594
});
1595-
expect(plan.commands.map((command) => command.args[0])).toEqual([
1595+
const commands = plan.commands.map((command) => command.args[0]);
1596+
expect(commands).toEqual([
15961597
"check:no-conflict-markers",
15971598
"check:changelog-attributions",
15981599
"check:doctor-deprecation-registry",
@@ -1608,11 +1609,11 @@ describe("scripts/changed-lanes", () => {
16081609
"deps:patches:check",
16091610
"release-metadata:check",
16101611
"android:version:check",
1611-
"ios:version:check",
16121612
"config:schema:check",
16131613
"config:docs:check",
16141614
"deps:root-ownership:check",
16151615
]);
1616+
expect(commands).not.toContain("ios:version:check");
16161617
expect(
16171618
plan.commands.find((command) => command.args[0] === "release-metadata:check")?.args,
16181619
).toEqual(["release-metadata:check", "--staged"]);

0 commit comments

Comments
 (0)