File tree Expand file tree Collapse file tree
lib/fastlane/plugin/commit_android_version_bump/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,9 +10,11 @@ def self.run(params)
1010 app_folder_name ||= params [ :app_folder_name ]
1111 UI . message ( "The commit_android_version_bump plugin is looking inside your project folder (#{ app_folder_name } )!" )
1212
13- build_folder_paths = Dir [ File . expand_path ( File . join ( '**/' , app_folder_name ) ) ]
13+ build_folder_paths = Dir [ File . expand_path ( File . join ( '**/' , app_folder_name ) ) ] . reject { | file | file . include? ( 'build/' ) }
1414 # no build.gradle found: error
1515 UI . user_error! ( 'Could not find a build folder in the current repository\'s working directory.' ) if build_folder_paths . count == 0
16+
17+ UI . message ( "Found the following project path: #{ build_folder_paths } " )
1618 # too many projects found: error
1719 if build_folder_paths . count > 1
1820 UI . user_error! ( "Found multiple build.gradle projects in the current repository's working directory." )
You can’t perform that action at this time.
0 commit comments