Skip to content

Commit

Permalink
Merge pull request #179 from pusher/release-nxt
Browse files Browse the repository at this point in the history
Release 2.3.0
  • Loading branch information
aonemd authored Nov 11, 2024
2 parents f5bd1ad + 673d823 commit 54a7a33
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,7 +13,6 @@ dependencies:
flutter_web_plugins:
sdk: flutter
js: ^0.6.3

dev_dependencies:
flutter_test:
sdk: flutter
Expand Down

0 comments on commit 54a7a33

Please sign in to comment.