From 3ecbd4036f5e0e405892f8c52ef2de32450a9109 Mon Sep 17 00:00:00 2001 From: Piotr Maszota Date: Wed, 17 Jan 2024 08:35:08 +0100 Subject: [PATCH 1/2] Fix passing port when patrol build command run --- packages/patrol_cli/lib/src/commands/build_ios.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patrol_cli/lib/src/commands/build_ios.dart b/packages/patrol_cli/lib/src/commands/build_ios.dart index 5f51167c2..f984dbf72 100644 --- a/packages/patrol_cli/lib/src/commands/build_ios.dart +++ b/packages/patrol_cli/lib/src/commands/build_ios.dart @@ -135,7 +135,7 @@ class BuildIOSCommand extends PatrolCommand { configuration: flutterOpts.buildMode.createConfiguration(flavor), simulator: boolArg('simulator'), appServerPort: super.appServerPort, - testServerPort: super.appServerPort, + testServerPort: super.testServerPort, ); try { From 6a1609ccd4fc0128a3dc3b309f9102a46ef38115 Mon Sep 17 00:00:00 2001 From: "piotr.maszota" Date: Wed, 17 Jan 2024 11:26:10 +0100 Subject: [PATCH 2/2] Update changelog and version number --- packages/patrol_cli/CHANGELOG.md | 4 ++++ packages/patrol_cli/lib/src/base/constants.dart | 2 +- packages/patrol_cli/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/patrol_cli/CHANGELOG.md b/packages/patrol_cli/CHANGELOG.md index c4656e44d..f8ea43cf3 100644 --- a/packages/patrol_cli/CHANGELOG.md +++ b/packages/patrol_cli/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.6.1 + +- Fix passing port on iOS when `patrol build` is executed (#2061). + ## 2.6.0 - Allow for changing the port when running on iOS (#2027). diff --git a/packages/patrol_cli/lib/src/base/constants.dart b/packages/patrol_cli/lib/src/base/constants.dart index 34b330b68..92e720f41 100644 --- a/packages/patrol_cli/lib/src/base/constants.dart +++ b/packages/patrol_cli/lib/src/base/constants.dart @@ -1,3 +1,3 @@ /// Version of Patrol CLI. Must be kept in sync with pubspec.yaml. /// If you update this, make sure that compatibility-table.mdx is updated (if needed) -const version = '2.6.0'; +const version = '2.6.1'; diff --git a/packages/patrol_cli/pubspec.yaml b/packages/patrol_cli/pubspec.yaml index 3f63b5622..2c35d5402 100644 --- a/packages/patrol_cli/pubspec.yaml +++ b/packages/patrol_cli/pubspec.yaml @@ -1,7 +1,7 @@ name: patrol_cli description: > Command-line tool for Patrol, a powerful Flutter-native UI testing framework. -version: 2.6.0 # Must be kept in sync with constants.dart +version: 2.6.1 # Must be kept in sync with constants.dart homepage: https://patrol.leancode.co repository: https://github.com/leancodepl/patrol/tree/master/packages/patrol_cli issue_tracker: https://github.com/leancodepl/patrol/issues?q=is%3Aopen+is%3Aissue+label%3A%22package%3A+patrol_cli%22