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

Commit 93978de

Browse files
committed
build: update version
1 parent 54fa264 commit 93978de

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 4.21.2
44

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

78
## 4.21.1
89

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ To set this up:
8989
```yaml
9090
name: dart_code_metrics_plugin_loader
9191
description: This pubspec determines the version of the analyzer plugin to load.
92-
version: 4.21.1
92+
version: 4.21.2
9393
9494
environment:
9595
sdk: ">=2.17.0 <3.0.0"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ add it manually to `pubspec.yaml`
6060

6161
```yaml
6262
dev_dependencies:
63-
dart_code_metrics: ^4.21.1
63+
dart_code_metrics: ^4.21.2
6464
```
6565
6666
and then run

lib/src/analyzer_plugin/analyzer_plugin.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import '../analyzers/lint_analyzer/metrics/metrics_list/number_of_parameters_met
1313
import '../analyzers/lint_analyzer/metrics/metrics_list/source_lines_of_code/source_lines_of_code_metric.dart';
1414
import '../config_builder/config_builder.dart';
1515
import '../config_builder/models/analysis_options.dart';
16+
import '../version.dart';
1617
import 'analyzer_plugin_utils.dart';
1718

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

3233
@override
33-
String get name => 'Dart Code Metrics $version';
34+
String get name => 'Dart Code Metrics $packageVersion';
3435

3536
@override
3637
String get version => '1.0.0-alpha.0';

lib/src/version.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const packageVersion = '4.21.1';
1+
const packageVersion = '4.21.2';

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dart_code_metrics
2-
version: 4.21.1
2+
version: 4.21.2
33
description: Software analytics tool that helps developers analyse and improve software quality.
44
homepage: https://dartcodemetrics.dev
55
repository: https://github.com/dart-code-checker/dart-code-metrics

tools/analyzer_plugin/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: dart_code_metrics_plugin_loader
22
description: This pubspec determines the version of the analyzer plugin to load.
3-
version: 4.21.1
3+
version: 4.21.2
44

55
environment:
66
sdk: ">=2.14.0 <3.0.0"
77

88
dependencies:
9-
dart_code_metrics: ^4.21.1
9+
dart_code_metrics: ^4.21.2
1010

1111
dev_dependencies:
1212
lints: ^1.0.1

website/docs/getting-started/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ environment:
2323
sdk: '>=2.17.0 <3.0.0'
2424

2525
dev_dependencies:
26-
dart_code_metrics: ^4.21.1
26+
dart_code_metrics: ^4.21.2
2727
```
2828
2929
and then run

0 commit comments

Comments
 (0)