You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,5 +85,29 @@ Remediation time? (in minutes)
85
85
86
86
## Releasing
87
87
88
-
TODO
88
+
### Snapshots
89
+
90
+
Every push to `develop` branch updates the matching snapshot release.
91
+
92
+
For example: if project version is set to `0.1-SNAPSHOT` on`develop`. A `0.1-SNAPSHOT` will be released (or release will be updated if it already exists) as soon as the `maven.yml` GitHub actions workflow finishes.
93
+
94
+
### Stable
95
+
96
+
A new stable release is pushed on GitHub, on every new tag creation (performed by the `release.yml` GitHub Actions workflow).
97
+
98
+
The steps to issue a new stable release are:
99
+
1. Merge `develop` branch to `main`branch (do not squash in order to keep commit history).
100
+
2. Create a new tag from `main` branch with a naming matching the release number. Example:
101
+
```bash
102
+
$ git tag -a 0.1.0
103
+
```
104
+
3. Push the new tag with:
105
+
```bash
106
+
$ git push --tags
107
+
```
108
+
109
+
Once released, remember to update the project version on the `develop`branch to a new snapshot number:
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,20 +185,22 @@ You may follow and upvote these related issue if interested:
185
185
186
186
All options are configurable in the SonarQube UI, via `sonar-project.properties` or `-D` parameters.
187
187
188
-
|Name|Options|Default|Description
189
-
|---|---|---|---|
190
-
|`sonar.dart.analyzer.mode`|<code>DETECT|DART|FLUTTER|MANUAL|DARTANALYZER</code>|`DETECT`|By default the plugin attempts to detect a fitting analyzer (`flutter analyze` or `dart analyze`) by parsing the `environment` from `pubspec.yaml`. This can be set to `MANUAL` to provide and existing report file. For compatibility with older Dart versions, this can be set to `DARTANALYZER`.|
191
-
|`sonar.dart.analyzer.options.override`|<code>true|false</code>|`true`|By default any local `analysis_options.yaml` will be replaced for the analysis. This can be prevented by setting this to `false`.
192
-
|`sonar.dart.analyzer.report.mode`|<code>DETECT|MACHINE|LEGACY</code>|`DETECT`|The new machine readable output can be automatically detected if Dart SDK is available on the $PATH.|
193
-
|`sonar.dart.analyzer.report.path`|A file path|-|This is required if the analyzer mode is set to `MANUAL`.|
194
-
|`sonar.flutter.tests.reportPath`|A file path|-|The path to the test report JSON file.|
195
-
|`sonar.flutter.coverage.reportPath`|A file path|-|The path to the test coverage file in LCOV format.|
|`sonar.dart.analyzer.mode` | <code>DETECT|DART|FLUTTER|MANUAL|DARTANALYZER</code> | `DETECT` | By default the plugin attempts to detect a fitting analyzer (`flutter analyze` or `dart analyze`) by parsing the `environment` from `pubspec.yaml`. This can be set to `MANUAL` to provide and existing report file. For compatibility with older Dart versions, this can be set to `DARTANALYZER`.|
191
+
|`sonar.dart.analyzer.options.override` | <code>true|false</code> | `true` | By default any local `analysis_options.yaml` will be replaced for the analysis. This can be prevented by setting this to `false`. |
192
+
|`sonar.dart.analyzer.report.mode` | <code>DETECT|MACHINE|LEGACY</code> | `DETECT` | The new machine readable output can be automatically detected if Dart SDK is available on the $PATH.|
193
+
|`sonar.dart.analyzer.report.path` | A file path | - | This is required if the analyzer mode is set to `MANUAL`.|
194
+
|`sonar.flutter.tests.reportPath` | A file path | - | The path to the test report JSON file.|
195
+
|`sonar.flutter.coverage.reportPath` | A file path | - | The path to the test coverage file in LCOV format.|
196
196
197
197
198
198
## Contributing
199
199
200
200
Any help is welcome, and PRs will be greatly appreciated!
201
201
202
+
Please read [CONTRIBUTING](https://github.com/insideapp-oss/sonar-flutter/blob/develop/CONTRIBUTING.md) for more information.
0 commit comments