From a566328f793cd26c52f3fa4010fe331bb8700383 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Thu, 26 Jan 2023 10:04:33 -0800 Subject: [PATCH] add a publish script; prep to publish (#267) * blast_repo fixes auto-publish * rev to 1.17.1 --- .github/workflows/publish.yaml | 14 ++++++++++++++ CHANGELOG.md | 2 +- README.md | 5 +++++ pubspec.yaml | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 00000000..fcb7ccb8 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -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: dart-lang/ecosystem/.github/workflows/publish.yaml@main diff --git a/CHANGELOG.md b/CHANGELOG.md index 39cf42f3..323c699c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.17.1-dev +## 1.17.1 * Require Dart 2.18 * Improve docs for `splitAfter` and `splitBefore`. diff --git a/README.md b/README.md index 9f66acf5..a6a064d4 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,8 @@ functions on an existing object. Please file feature requests and bugs at the [issue tracker][tracker]. [tracker]: https://github.com/dart-lang/collection/issues + +## Publishing automation + +For information about our publishing automation and release process, see +https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. diff --git a/pubspec.yaml b/pubspec.yaml index 14ab46d6..2ff9b54f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: collection -version: 1.17.1-dev +version: 1.17.1 description: Collections and utilities functions and classes related to collections. repository: https://github.com/dart-lang/collection