fastlane-plugin-commit_android_version_bump 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70a8fdc7582ace66ff637c39d6e9e3ea0e44a533
4
- data.tar.gz: 6ed6e571a1d0556a642d6d60f9f4afb34b0e383a
3
+ metadata.gz: 01869368555b39ad959a85f3bfa82e6b7f3e3782
4
+ data.tar.gz: 005b048892a011c28efcede41d091455e839e165
5
5
  SHA512:
6
- metadata.gz: efb12744e4a4b4edb96fb60d0520cfb66bc34f0211ec844b97102de75f8318eb14f76378584b272427f4735b52edab3b43df603346d507291908fde52b6bca02
7
- data.tar.gz: 3b5035b30e4764809802b13018c7a9959c489ec95803594dcd8e9c4f43515c2310e646d48ab13b376199a5b72bbd7732e96936e668fabc02294d7ad022908582
6
+ metadata.gz: 0333a3ef774aa7cc0ed0250756c3ba95e486fdc4c1a8f17ae13bb569ad50ce6f3bf2554e5f24e243f5515a8ac685e989aaf5a6037e99160a9ccc9cec6c769c31
7
+ data.tar.gz: a2e28d5c6073710b2df941ba684305bba9a05872bcc06f15e05ff5083820fdb2f4fba3415b8e2103be1a5ff38ebb555c8387070262b67f7b393b86896852abe8
@@ -10,9 +10,11 @@ module Fastlane
10
10
  app_folder_name ||= params[:app_folder_name]
11
11
  UI.message("The commit_android_version_bump plugin is looking inside your project folder (#{app_folder_name})!")
12
12
 
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/') }
14
14
  # no build.gradle found: error
15
15
  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}")
16
18
  # too many projects found: error
17
19
  if build_folder_paths.count > 1
18
20
  UI.user_error!("Found multiple build.gradle projects in the current repository's working directory.")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module CommitAndroidVersionBump
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-commit_android_version_bump
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jems
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-02 00:00:00.000000000 Z
11
+ date: 2016-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry