@@ -377,6 +377,7 @@ class StashCommand extends Command {
377
377
```
378
378
379
379
### Default Help Command
380
+
380
381
[ CommandRunner] [ ] automatically adds a ` help ` command that displays usage
381
382
information for commands, as well as support for the ` --help ` flag for all
382
383
commands. If it encounters an error parsing the arguments or processing a
@@ -442,6 +443,26 @@ The resulting string looks something like this:
442
443
[ia32] Intel x86
443
444
```
444
445
446
+ ## Contributions, PRs, and publishing
447
+
448
+ When contributing to this repo:
449
+
450
+ - if the package version is a stable semver version (` x.y.z ` ), the latest
451
+ changes have been published to pub. Please add a new changelog section for
452
+ your change, rev the service portion of the version, append ` -dev ` , and update
453
+ the pubspec version to agree with the new version
454
+ - if the package version ends in ` -dev ` , the latest changes are unpublished;
455
+ please add a new changelog entry for your change in the most recent section.
456
+ When we decide to publish the latest changes we'll drop the ` -dev ` suffix
457
+ from the package version
458
+ - for PRs, the ` Publish ` bot will perform basic validation of the info in the
459
+ pubspec.yaml and CHANGELOG.md files
460
+ - when the PR is merged into the main branch, if the change includes reving to
461
+ a new stable version, a repo maintainer will tag that commit with the pubspec
462
+ version (e.g., ` v1.2.3 ` ); that tag event will trigger the ` Publish ` bot to
463
+ publish a new version of the package to pub.dev
464
+
465
+
445
466
[ posix ] : https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
446
467
[ gnu ] : https://www.gnu.org/prep/standards/standards.html#Command_002dLine-Interfaces
447
468
[ ArgParser ] : https://pub.dev/documentation/args/latest/args/ArgParser/ArgParser.html
0 commit comments