From 11b74eb5c21e2fc0131a20d024e17f0750100275 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Tue, 5 Dec 2023 15:41:32 -0800 Subject: [PATCH 1/2] Add health and publish workflows --- .github/workflows/health.yaml | 10 ++++++++++ .github/workflows/publish.yaml | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/health.yaml create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml new file mode 100644 index 0000000000..11fd8c2e5c --- /dev/null +++ b/.github/workflows/health.yaml @@ -0,0 +1,10 @@ +name: Health +on: + pull_request: + branches: [ main ] + types: [opened, synchronize, reopened, labeled, unlabeled] +jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@main + permissions: + pull-requests: write diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000000..041c8d8bca --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,16 @@ +# A CI configuration to auto-publish pub packages. + +name: Publish + +on: + pull_request: + branches: [ main ] + push: + tags: [ '[0-9A-z]+-v[0-9]+.[0-9]+.[0-9]+' ] + +jobs: + publish: + if: ${{ github.repository_owner == 'dart-lang' }} + uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main + with: + write-comments: false From f65a77178817633eda783b6770106d131919d70b Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Tue, 5 Dec 2023 15:47:10 -0800 Subject: [PATCH 2/2] Change to publish version --- pkgs/cupertino_http/CHANGELOG.md | 2 +- pkgs/cupertino_http/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/cupertino_http/CHANGELOG.md b/pkgs/cupertino_http/CHANGELOG.md index 47e25cb590..d768f7a5c7 100644 --- a/pkgs/cupertino_http/CHANGELOG.md +++ b/pkgs/cupertino_http/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.2.0-wip +## 1.2.0 * Add support for setting additional http headers in `URLSessionConfiguration`. diff --git a/pkgs/cupertino_http/pubspec.yaml b/pkgs/cupertino_http/pubspec.yaml index 81905aa87e..0a97bdd25d 100644 --- a/pkgs/cupertino_http/pubspec.yaml +++ b/pkgs/cupertino_http/pubspec.yaml @@ -1,5 +1,5 @@ name: cupertino_http -version: 1.2.0-wip +version: 1.2.0 description: >- A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System.