Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
build: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
incendial committed Oct 14, 2022
1 parent 54fa264 commit 93978de
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 4.21.2

* fix: correctly handle FutureOr functions for [`avoid-passing-async-when-sync-expected`](https://dartcodemetrics.dev/docs/rules/common/avoid-passing-async-when-sync-expected).
* chore: add version to plugin name.

## 4.21.1

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To set this up:
```yaml
name: dart_code_metrics_plugin_loader
description: This pubspec determines the version of the analyzer plugin to load.
version: 4.21.1
version: 4.21.2
environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ add it manually to `pubspec.yaml`

```yaml
dev_dependencies:
dart_code_metrics: ^4.21.1
dart_code_metrics: ^4.21.2
```
and then run
Expand Down
3 changes: 2 additions & 1 deletion lib/src/analyzer_plugin/analyzer_plugin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import '../analyzers/lint_analyzer/metrics/metrics_list/number_of_parameters_met
import '../analyzers/lint_analyzer/metrics/metrics_list/source_lines_of_code/source_lines_of_code_metric.dart';
import '../config_builder/config_builder.dart';
import '../config_builder/models/analysis_options.dart';
import '../version.dart';
import 'analyzer_plugin_utils.dart';

class AnalyzerPlugin extends ServerPlugin {
Expand All @@ -30,7 +31,7 @@ class AnalyzerPlugin extends ServerPlugin {
List<String> get fileGlobsToAnalyze => const ['*.dart'];

@override
String get name => 'Dart Code Metrics $version';
String get name => 'Dart Code Metrics $packageVersion';

@override
String get version => '1.0.0-alpha.0';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const packageVersion = '4.21.1';
const packageVersion = '4.21.2';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dart_code_metrics
version: 4.21.1
version: 4.21.2
description: Software analytics tool that helps developers analyse and improve software quality.
homepage: https://dartcodemetrics.dev
repository: https://github.com/dart-code-checker/dart-code-metrics
Expand Down
4 changes: 2 additions & 2 deletions tools/analyzer_plugin/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: dart_code_metrics_plugin_loader
description: This pubspec determines the version of the analyzer plugin to load.
version: 4.21.1
version: 4.21.2

environment:
sdk: ">=2.14.0 <3.0.0"

dependencies:
dart_code_metrics: ^4.21.1
dart_code_metrics: ^4.21.2

dev_dependencies:
lints: ^1.0.1
2 changes: 1 addition & 1 deletion website/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ environment:
sdk: '>=2.17.0 <3.0.0'

dev_dependencies:
dart_code_metrics: ^4.21.1
dart_code_metrics: ^4.21.2
```
and then run
Expand Down

0 comments on commit 93978de

Please sign in to comment.