diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a960e8b..7a74f70 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,23 +37,23 @@ jobs: echo keyAlias=\${{ secrets.KEY_ALIAS }} >> ./android/key.properties - name: Build App files - run: flutter build apk --release --build-number ${{github.run_number}} + run: flutter build apk --release --build-number ${{github.run_number}} --scan - name: Verify Sign run: jarsigner --verify --verbose build/app/outputs/flutter-apk/app-release.apk - name: Rename APK file - run: mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/bloomee_tunes_v2.5.0+${{github.run_number}}.apk + run: mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/bloomee_tunes_v2.6.0+${{github.run_number}}.apk - name: Upload Artifacts uses: actions/upload-artifact@v2 with: name: Release path: | - build/app/outputs/flutter-apk/bloomee_tunes_v2.5.0+${{github.run_number}}.apk + build/app/outputs/flutter-apk/bloomee_tunes_v2.6.0+${{github.run_number}}.apk - name: Create Release uses: ncipollo/release-action@v1 with: - artifacts: "build/app/outputs/flutter-apk/bloomee_tunes_v2.5.0+${{github.run_number}}.apk" - tag: v2.5.0+${{github.run_number}} + artifacts: "build/app/outputs/flutter-apk/bloomee_tunes_v2.6.0+${{github.run_number}}.apk" + tag: v2.6.0+${{github.run_number}} token: ${{secrets.SECRET_KEY}} \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 21a7ba5..868653b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 2.5.0+0 +version: 2.6.0+0 environment: sdk: '>=3.0.6 <4.0.0'