diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8e418f4..397c883 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,14 +20,16 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Set up Dart SDK - uses: dart-lang/setup-dart@v1 + - name: Set up Flutter SDK + uses: subosito/flutter-action@v2 + with: + channel: stable - name: Install dependencies - run: dart pub get + run: flutter pub get - name: Validate package - run: dart pub publish --dry-run + run: flutter pub publish --dry-run - name: Publish package - run: dart pub publish --force + run: flutter pub publish --force diff --git a/CHANGELOG.md b/CHANGELOG.md index 9532d05..821787a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [0.1.4] - 02/03/2026 + +- Replicate upstream Dart SDK constraint bump from `ofload/native_updater` PR #35. +- Update Dart SDK constraint to `>=2.17.0 <4.0.0`. +- Credit: original change authored by [@rounaktadvi](https://github.com/rounaktadvi) (Rounak Tadvi). + ## [0.1.3] - 02/03/2026 - Replicate upstream AndroidX compatibility fix from `ofload/native_updater` PR #39. diff --git a/example/pubspec.lock b/example/pubspec.lock index daea1d3..9cb72b8 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -174,7 +174,7 @@ packages: path: ".." relative: true source: path - version: "0.1.2" + version: "0.1.4" package_info_plus: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index bfcc580..e96d2c4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,11 @@ name: native_updater description: Flutter package for prompting users to update with a native dialog whether using the app store version or any version at the user's discretion. -version: 0.1.3 +version: 0.1.4 homepage: https://github.com/milhomem/native_updater environment: - sdk: '>=2.12.0 <4.0.0' + sdk: '>=2.17.0 <4.0.0' dependencies: flutter: