Jems22 / fastlane-plugin-commit_android_version_bump

Commit a version bump of your Android project using fastlane.
MIT License
13 stars 13 forks source link

Fix conflict between expected changed files and git dirty files #8

Closed etiennedm closed 2 years ago

etiennedm commented 6 years ago

For a Flutter project, specifying gradle_file_folder as "app" in the lane config would lead to the following expected changed files "app/build.gradle" whereas the git dirty file would actually be "android/app/build.gradle".

This happens because the git root is not the android directory but the flutter project folder which contains the android project in the "android" directory.

oklimberg commented 4 years ago

Hi,

the default value for parameter 'gradle_file_folder' is 'app', which will work for the default project structure of a 'normal' Android project. You can however change the value and pass 'android/app' which should then work, without changing the code of this plugin. But I will have a closer look into this