ionic-team/trapeze

platforms/android/versionCode isn't working for me in v7.0.6

boozedog opened this issue · 2 comments

No matter what value I set, I always end up with a versionCode=1 in my app/build.gradle

vars:
  CI_BUILD_NUMBER:

platforms:
  android:
    versionCode: $CI_BUILD_NUMBER

This works:

vars:
  CI_BUILD_NUMBER:

platforms:
  android:
    gradle:
      - file: app/build.gradle
        target:
          android:
            defaultConfig:
              versionCode:
        replace:
          versionCode: $CI_BUILD_NUMBER

Version:

% npx trapeze --version
7.0.6

Apologies, can you try 7.0.7 which I just published? Should resolve this issue.

Works now, thanks!