From c3f8cf044b3b9fbcface6a7139cc98fe8e89f362 Mon Sep 17 00:00:00 2001 From: Ahmed Saleh Date: Fri, 8 Nov 2024 18:24:36 +0100 Subject: [PATCH 1/2] GH Actions: Update workflows `actions/checkout@v3` --- .github/workflows/prepare.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index f73579c..eac4fb7 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -11,12 +11,12 @@ jobs: name: Prepare release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Get current version run: | CURRENT_VERSION=$(yq '.version' pubspec.yaml) echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: repository: pusher/public_actions token: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }} @@ -28,7 +28,7 @@ jobs: - name: Push shell: bash run: | - echo "$(yq '.version = "${{ steps.bump.outputs.new_version }}"' pubspec.yaml)" > pubspec.yaml + echo "$(yq '.version = "${{ steps.bump.outputs.new_version }}"' pubspec.yaml)" > pubspec.yaml git add pubspec.yaml CHANGELOG.md git commit -m "Bump to version ${{ steps.bump.outputs.new_version }}" git push diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af7465f..17052ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -37,7 +37,7 @@ jobs: needs: check-release-tag if: ${{ needs.check-release-tag.outputs.tag }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: 'publish pusher-channels-flutter package' id: publish uses: k-paxian/dart-package-publisher@master @@ -54,7 +54,7 @@ jobs: needs: publish if: ${{ needs.check-release-tag.outputs.tag }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Prepare tag run: | export TAG=v$(yq '.version' pubspec.yaml) From 673d8239d9991eca27aa3d609a34c0b958593f66 Mon Sep 17 00:00:00 2001 From: Pusher CI Date: Fri, 8 Nov 2024 17:28:48 +0000 Subject: [PATCH 2/2] Bump to version 2.3.0 --- CHANGELOG.md | 5 +++++ pubspec.yaml | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49f6e8d..986515c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.3.0 + +* [CHANGED] Upgraded Flutter 3.24.3 https://github.com/pusher/pusher-channels-flutter/pull/176 Big thanks to @hamzamirai +* [CHANGED] Upgraded GH action/checkout@v3 to allow the release workflow to checkout PRs from forks + ## 2.2.1 * [CHANGED] Update PusherSwift SDK to 10.1.5 diff --git a/pubspec.yaml b/pubspec.yaml index d2dd1cd..b8b5d8f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: pusher_channels_flutter description: Pusher Channels Flutter Plugin -version: 2.2.1 +version: 2.3.0 homepage: https://github.com/pusher/pusher-channels-flutter repository: https://github.com/pusher/pusher-channels-flutter issue_tracker: https://github.com/pusher/pusher-channels-flutter/issues @@ -13,7 +13,6 @@ dependencies: flutter_web_plugins: sdk: flutter js: ^0.6.3 - dev_dependencies: flutter_test: sdk: flutter