diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8fef8a0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +### 0.1.12 + +* Support latest versions of `args` and `coverage` packages. + +* Require at least Dart 1.9.0 SDK. + +* Improved the reporting of errors, especially async errors. + +* Add check of `CI_BRANCH` environment variable for Git branch. diff --git a/lib/src/cli_client.dart b/lib/src/cli_client.dart index 8fe9333..d286473 100644 --- a/lib/src/cli_client.dart +++ b/lib/src/cli_client.dart @@ -78,7 +78,7 @@ class CommandLineClient { } Future _sendLoop(CoverallsEndpoint endpoint, String covString, - {int retry: 0}) async { + {int retry: 0}) async { while (true) { try { await endpoint.sendToCoveralls(covString); diff --git a/lib/src/git_data.dart b/lib/src/git_data.dart index 27ae95e..21a2453 100644 --- a/lib/src/git_data.dart +++ b/lib/src/git_data.dart @@ -131,8 +131,7 @@ class GitBranch { {ProcessSystem processSystem: const ProcessSystem(), Map environment}) { if (null == environment) environment = Platform.environment; - if (null != environment["CI_BRANCH"]) return environment[ - "CI_BRANCH"]; + if (null != environment["CI_BRANCH"]) return environment["CI_BRANCH"]; if (null != environment["TRAVIS_BRANCH"]) return environment[ "TRAVIS_BRANCH"]; var args = ["rev-parse", "--abbrev-ref", "HEAD"]; diff --git a/pubspec.yaml b/pubspec.yaml index a1b19b9..e657e33 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,10 +1,10 @@ name: dart_coveralls -version: 0.1.12-dev +version: 0.1.12 author: Axel Christ description: |- Pub package to calculate coverage, format it to LCOV and send it to coveralls -homepage: https://github.com/Adracus/dart-coveralls +homepage: https://github.com/duse-io/dart-coveralls environment: sdk: '>=1.9.0 <2.0.0' dependencies: