fastlane-plugin-android_versioning
fastlane-plugin-android_versioning copied to clipboard
Does not respect the format A.B.C
Hi, Getting below exception
E: [!] Your current version () does not respect the format A.B.C
versionCode 1
versionName 0.1.0
Did you migrate to build.gradle.kts? I have same problem after that, but it might be kind of expected - though I need a fix for that. Edit: Supported build.gradle.kts here: https://github.com/mortenholmgaard/fastlane-plugin-android-versioning-kts
No. I didn't migrate.
In the args for increment_version_name
, don't pass in the flavor.
Instead do this:
bump_type = (options[:flavor] == "prod" ? "minor": "patch")
increment_version_name(app_project_dir: './android/app', bump_type: bump_type)