Skip to content

Commit

Permalink
feat: add automated publishing to shorebird_code_push (#197)
Browse files Browse the repository at this point in the history
* feat: add automated publishing to shorebird_code_push

* include version bump
  • Loading branch information
eseidel authored Jul 25, 2024
1 parent 75de37c commit 933e231
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions shorebird_code_push/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion shorebird_code_push/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 933e231

Please sign in to comment.