Skip to content

Commit

Permalink
bump patrol to 2.4.0-dev.6, patrol_cli to 2.3.0-dev.2 (#1854)
Browse files Browse the repository at this point in the history
* patrol: bump version to 2.4.0-dev.6

* disable info about new version when using prerelease

* patrol_cli: bump version to 2.3.0-dev.2
  • Loading branch information
bartekpacia authored Nov 3, 2023
1 parent d1e2668 commit f0984db
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/patrol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.4.0-dev.6

- Service release with latest changes from stable `master` branch (#1851)

## 2.4.0-dev.5

- Add more logs when iOS test is starting up to aid in debugging
Expand Down
2 changes: 1 addition & 1 deletion packages/patrol/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: patrol
description: >
Powerful Flutter-native UI testing framework overcoming limitations of
existing Flutter testing tools. Ready for action!
version: 2.4.0-dev.5
version: 2.4.0-dev.6
homepage: https://patrol.leancode.co
repository: https://github.com/leancodepl/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues
Expand Down
5 changes: 5 additions & 0 deletions packages/patrol_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.3.0-dev.2

- Service release with latest changes from stable `master` branch (#1851)
- Disable incorrect update prompt when using `dev` version (#1854)

## 2.3.0-dev.1

- Add support for `patrolSetUpAll` (#1751)
Expand Down
2 changes: 1 addition & 1 deletion packages/patrol_cli/lib/src/base/constants.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// Version of Patrol CLI. Must be kept in sync with pubspec.yaml.
const version = '2.3.0-dev.1';
const version = '2.3.0-dev.2';
5 changes: 5 additions & 0 deletions packages/patrol_cli/lib/src/runner/patrol_command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ Ask questions, get support at https://github.com/leancodepl/patrol/discussions''
return;
}

if (version.contains('dev')) {
// TODO: Remove this "if" when we bump pub_updater to 0.4.0.
return;
}

final latestVersion = await _pubUpdater.getLatestVersion('patrol_cli');
final isUpToDate = version == latestVersion;

Expand Down
2 changes: 1 addition & 1 deletion packages/patrol_cli/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: patrol_cli
description: >
Command-line tool for Patrol, a powerful Flutter-native UI testing framework.
version: 2.3.0-dev.1 # Must be kept in sync with constants.dart
version: 2.3.0-dev.2 # Must be kept in sync with constants.dart
homepage: https://patrol.leancode.co
repository: https://github.com/leancodepl/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues
Expand Down

0 comments on commit f0984db

Please sign in to comment.