Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
blast_repo fixes (#230)
Browse files Browse the repository at this point in the history
* blast_repo fixes

auto-publish

* publish from master
  • Loading branch information
devoncarew authored Jan 19, 2023
1 parent ac0e2c8 commit 04c9346
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# A CI configuration to auto-publish pub packages.

name: Publish

on:
pull_request:
branches: [ master ]
push:
tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ]

jobs:
publish:
if: ${{ github.repository_owner == 'dart-lang' }}
uses: devoncarew/firehose/.github/workflows/publish.yaml@main
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.3.2-dev
## 2.3.2

* Require Dart 2.18

Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ class StashCommand extends Command {
```

### Default Help Command

[CommandRunner][] automatically adds a `help` command that displays usage
information for commands, as well as support for the `--help` flag for all
commands. If it encounters an error parsing the arguments or processing a
Expand Down Expand Up @@ -442,6 +443,26 @@ The resulting string looks something like this:
[ia32] Intel x86
```

## Contributions, PRs, and publishing

When contributing to this repo:

- if the package version is a stable semver version (`x.y.z`), the latest
changes have been published to pub. Please add a new changelog section for
your change, rev the service portion of the version, append `-dev`, and update
the pubspec version to agree with the new version
- if the package version ends in `-dev`, the latest changes are unpublished;
please add a new changelog entry for your change in the most recent section.
When we decide to publish the latest changes we'll drop the `-dev` suffix
from the package version
- for PRs, the `Publish` bot will perform basic validation of the info in the
pubspec.yaml and CHANGELOG.md files
- when the PR is merged into the main branch, if the change includes reving to
a new stable version, a repo maintainer will tag that commit with the pubspec
version (e.g., `v1.2.3`); that tag event will trigger the `Publish` bot to
publish a new version of the package to pub.dev


[posix]: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02
[gnu]: https://www.gnu.org/prep/standards/standards.html#Command_002dLine-Interfaces
[ArgParser]: https://pub.dev/documentation/args/latest/args/ArgParser/ArgParser.html
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: args
version: 2.3.2-dev
version: 2.3.2
description: >-
Library for defining parsers for parsing raw command-line arguments into a set
of options and values using GNU and POSIX style options.
Expand Down

0 comments on commit 04c9346

Please sign in to comment.