I've tried several different iterations with the options and non are working.
lane :distribute do
updated_version = 75
increment_version_code(
gradle_file_path: "./app/build.gradle",
ext_constant_name: "versionCode",
version_code: updated_version.to_i,
)
gradle(task: "clean")
gradle(task: "assemble", build_type: "Release")
firebase_app_distribution()
end
I've tried:
- moving
increment_version_code after the gradle tasks
- wrapping the options for
increment_version_code in {}
- removing the
versionCode entry from the build.gradle file
- using
.to_s instead of .to_i for the version_code option
Am I missing something obvious, or is this plugin broken?
I've tried several different iterations with the options and non are working.
I've tried:
increment_version_codeafter the gradle tasksincrement_version_codein{}versionCodeentry from the build.gradle file.to_sinstead of.to_ifor theversion_codeoptionAm I missing something obvious, or is this plugin broken?