diff --git a/.gitea/workflows/build-android-app.yml b/.gitea/workflows/build-android-app.yml index 5957e19..31297fc 100644 --- a/.gitea/workflows/build-android-app.yml +++ b/.gitea/workflows/build-android-app.yml @@ -67,7 +67,7 @@ jobs: KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} KEYSTORE_ALIAS_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} - APP_VERSION_CODE: ${{ 50 + gitea.run_number }} + APP_VERSION_CODE: ${{ gitea.run_number }} - name: Install GH CLI uses: dev-hanz-ops/install-gh-cli-action@v0.2.1 diff --git a/capacitor/android/app/build.gradle b/capacitor/android/app/build.gradle index 95af483..1f19e27 100644 --- a/capacitor/android/app/build.gradle +++ b/capacitor/android/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "ru.mmote.niimblues" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode appVersionCode - versionName "0.0.${appVersionCode}" + versionCode (50 + appVersionCode) // Last GH actions build + versionName "0.1.${appVersionCode}" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.