Skip to content

Fails if git base directory is not the same as android base folder project #7

@otusweb

Description

@otusweb

I'm working on a react native project so my file structure is as follow:

- ios
- android/
    app/
         build.gradle

In the script I set gradle_file_folder to app
while in the android directory => fastlane beta

Result:
I get this error:

Found unexpected uncommited changes in the working directory. Expected these files to have
changed:
app/build.gradle.
But found these actual changes:
android/app/build.gradle.
Make sure you have cleaned up the build artifacts and
are only left with the changed version files at this stage in your lane, and don't touch the
working directory while your lane is running. You can also use the :force option to bypass this
check, and always commit a version bump regardless of the state of the working directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions