Skip to content

Commit af4f06d

Browse files
committed
Fix trouble when using the plugin in folder with multiple android project
1 parent e057c88 commit af4f06d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ 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))]
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
1616
# too many projects found: error
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Fastlane
22
module CommitAndroidVersionBump
3-
VERSION = "0.1.1"
3+
VERSION = "0.1.2"
44
end
55
end

0 commit comments

Comments
 (0)