Skip to content

Commit b4f3303

Browse files
authored
Bump version to 1.10.6 (#874)
* bump version to 1.10.6 * downgrade Kotlin version in example app * update `publish` gh action
1 parent 387588f commit b4f3303

File tree

4 files changed

+20
-37
lines changed

4 files changed

+20
-37
lines changed

.github/workflows/publish.yaml

+11-35
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@ on:
55
tags: ['v*']
66

77
jobs:
8-
main:
8+
publish:
9+
name: Publish on pub.dev
910
runs-on: ubuntu-latest
1011

12+
permissions:
13+
id-token: write
14+
contents: write
15+
1116
steps:
12-
- name: Checkout
17+
- name: Clone repository
1318
uses: actions/checkout@v3
1419

15-
# This action adds a token needed for pub.dev
20+
# This step adds the auth token for pub.dev
1621
- name: Set up Dart
1722
uses: dart-lang/setup-dart@v1
1823
with:
@@ -24,35 +29,6 @@ jobs:
2429
channel: stable
2530
cache: true
2631

27-
- name: Install mobile-tools
28-
uses: actions/checkout@v3
29-
with:
30-
repository: leancodepl/mobile-tools
31-
path: mobile-tools
32-
33-
- name: Add mobile-tools to PATH
34-
run: |
35-
echo $GITHUB_WORKSPACE/mobile-tools/bin >> $GITHUB_PATH
36-
37-
- name: Download pub.dev credentials
38-
env:
39-
CREDENTIALS: ${{ secrets.PUB_DEV_CREDENTIALS }}
40-
run: |
41-
mkdir -p ~/.pub-cache
42-
echo $CREDENTIALS > ~/.pub-cache/credentials.json
43-
44-
- name: Set version data
45-
run: |
46-
tag=${{ github.ref_name }}
47-
echo "RELEASE_NOTES=$(link_changelog flutter_downloader $tag)" >> $GITHUB_ENV
48-
echo "IS_PRERELEASE=$(is_prerelease flutter_downloader $tag)" >> $GITHUB_ENV
49-
50-
- name: Publish
51-
run: dart pub publish --force
52-
53-
- name: Create release
54-
uses: softprops/action-gh-release@v1
55-
with:
56-
name: ${{ github.ref_name }}
57-
body: '[See changelog on pub.dev](${{ env.RELEASE_NOTES }})'
58-
prerelease: ${{ env.IS_PRERELEASE }}
32+
- name: Publish to pub.dev
33+
id: pub_release
34+
uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.10.6
2+
3+
- Fix `delete()` not working when file isn't saved to public storage (#871)
4+
- Update CI workflows on GitHub Actions (#872)
5+
- Bump native Android dependencies and Gradle (#873)
6+
- Bump minimum Flutter version to 3.10 (#873)
7+
18
## 1.10.5
29

310
- Make the project compile when the app not doesn't have dependency on Kotlin

example/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = "1.9.0"
2+
ext.kotlin_version = "1.7.22"
33
repositories {
44
google()
55
mavenCentral()

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_downloader
22
description: Powerful plugin making it easy to download files.
3-
version: 1.10.5
3+
version: 1.10.6
44
repository: https://github.com/fluttercommunity/flutter_downloader
55
issue_tracker: https://github.com/fluttercommunity/flutter_downloader/issues
66
maintainer: Bartek Pacia (@bartekpacia)

0 commit comments

Comments
 (0)