diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6d79fe4e..ef7341db 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,12 +3,21 @@ name: Publish to pub.dev on: push: tags: - - 'v[0-9]+.[0-9]+.[0-9]+*' + - 'v[0-9]+.[0-9]+.[0-9]+*' # Trigger this action when a version tag is pushed jobs: publish: - permissions: - id-token: write # Required for authentication using OIDC - uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 - # with: - # working-directory: path/to/package/within/repository + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Dart environment + uses: dart-lang/setup-dart@v1 + + # If the package is not in the root, include a step to navigate to the package directory + # - name: Change to package directory + # run: cd path/to/your/package + + - name: Publish to pub.dev + run: dart pub publish --force + # This will fail without an access token for authentication unless you have a custom setup. diff --git a/CHANGELOG.md b/CHANGELOG.md index 42d47bd4..5a251d67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## [8.1.7] +- Automated publishing to pub.dev. + ## [8.1.6] - Fix compatibility with `integration_test` by downgrade the minimum version of platform package to 3.1.0 diff --git a/pubspec.yaml b/pubspec.yaml index e73282be..f12f63a4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter. -version: 8.1.6 +version: 8.1.7 homepage: https://1o24bbs.com/c/bulletjournal/108 repository: https://github.com/singerdmx/flutter-quill