diff --git a/.github/workflows/android-cd.yml b/.github/workflows/android-cd.yml index 4118fe3a6..284f1137b 100644 --- a/.github/workflows/android-cd.yml +++ b/.github/workflows/android-cd.yml @@ -84,3 +84,14 @@ jobs: generate_release_notes: true files: | android/app/build/outputs/apk/release/app-release.apk + + - name: Build release Bundle + run: ./gradlew bundleRelease + + - name: Upload artifact to Google Play Store + uses: r0adkll/upload-google-play@v1 + with: + serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} + packageName: com.happy.friendogly + releaseFiles: android/app/build/outputs/bundle/release/app-release.aab + track: [prefix]:Beta-version diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index c2cc3d546..02329cae9 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -39,7 +39,7 @@ android { applicationId = "com.happy.friendogly" minSdk = 26 targetSdk = 34 - versionCode = 5 + versionCode = 7 versionName = "0.2.2" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"