diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9594f820..7452e7e4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -167,7 +167,8 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git commit . -m "changelog(android): ${{ needs.check-version.outputs.build_code }}" + git add --all + git commit -m "changelog(android): ${{ needs.check-version.outputs.build_code }}" git push # Build APK to release, only work if you using tag. diff --git a/pubspec.yaml b/pubspec.yaml index 80391a65..b1b5dad5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ homepage: https://github.com/evan361425/flutter-pos-system # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # 2.2.0 -version: 2.2.0+20200001 +version: 2.2.0+20200002 environment: sdk: ">=2.12.0 <3.0.0"