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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01869368555b39ad959a85f3bfa82e6b7f3e3782
|
|
4
|
+
data.tar.gz: 005b048892a011c28efcede41d091455e839e165
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0333a3ef774aa7cc0ed0250756c3ba95e486fdc4c1a8f17ae13bb569ad50ce6f3bf2554e5f24e243f5515a8ac685e989aaf5a6037e99160a9ccc9cec6c769c31
|
|
7
|
+
data.tar.gz: a2e28d5c6073710b2df941ba684305bba9a05872bcc06f15e05ff5083820fdb2f4fba3415b8e2103be1a5ff38ebb555c8387070262b67f7b393b86896852abe8
|
data/lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb
CHANGED
|
@@ -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.")
|
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.
|
|
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-
|
|
11
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|