From 933e231636f03479625514e1d5365a7e34efc4c3 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Thu, 25 Jul 2024 09:29:21 -0700 Subject: [PATCH] feat: add automated publishing to shorebird_code_push (#197) * feat: add automated publishing to shorebird_code_push * include version bump --- .github/workflows/publish.yaml | 16 ++++++++++++++++ shorebird_code_push/CHANGELOG.md | 3 +++ shorebird_code_push/pubspec.yaml | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..5face84 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,16 @@ +name: Publish to pub.dev + +on: + push: + tags: + - 'shorebird_code_push-v[0-9]+.[0-9]+.[0-9]+*' # for tags like: 'v1.2.3' + +jobs: + publish: + permissions: + id-token: write # Required for authentication using OIDC + uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 + with: + # Specify the github actions deployment environment + environment: pub.dev + working-directory: shorebird_code_push diff --git a/shorebird_code_push/CHANGELOG.md b/shorebird_code_push/CHANGELOG.md index 6252f80..87da677 100644 --- a/shorebird_code_push/CHANGELOG.md +++ b/shorebird_code_push/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.1.4 +- Run `dart format` over generated files to appease pub static analysis. + # 1.1.3 - Update README to improve example. diff --git a/shorebird_code_push/pubspec.yaml b/shorebird_code_push/pubspec.yaml index 0ed2688..3bab14a 100644 --- a/shorebird_code_push/pubspec.yaml +++ b/shorebird_code_push/pubspec.yaml @@ -1,6 +1,6 @@ name: shorebird_code_push description: Check for and download Shorebird code push updates from your app. -version: 1.1.3 +version: 1.1.4 homepage: https://shorebird.dev repository: https://github.com/shorebirdtech/updater/tree/main/shorebird_code_push