fastlane-plugin-match_keystore 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1078f38dbd52c6280d7c2324cb3d286ffe3792462797bf9f9eadb130cf5ae1c
4
- data.tar.gz: 06e54a20de90f151ee42f796c40b7f33ffc102697136656ff15f8684e5926ae1
3
+ metadata.gz: 2afde25867f942e22ac1ccc83000cc4addca6eb441dd21037e46768c7bfd3ef7
4
+ data.tar.gz: 2adfd5df734d47a3eccde0b8d2e349e6d781c9bbe5ca8dd167bf4a29ba3b7299
5
5
  SHA512:
6
- metadata.gz: de5fc0acdd46b143953957646016be3df6fbb0238157332f949fee5ca137e73e9f9bc0d636031d50df2fd2ba0c2d442ad4c0a93e12c223904c29a058222c3439
7
- data.tar.gz: 203b48b2df41b4e8acc2f97c68cc5a694e1dcaa543039a2bfac2c38ba2706281d6717de2aaf51e1fa57245cbf593c6ee30c39a8876adc209e08e585794e6d2dc
6
+ metadata.gz: 2bd60e61bda022e20634e28e94040f3565e91163cb6181521dae95cea4f0ef783df966b9f962c6fca35df6fa12f8de4112d161825216e3f2b58a29ee8c10627e
7
+ data.tar.gz: '023870173a08a4aaa2cc68fab720fcfe372aafae56ca7893e74237e07e6f7f8cdf6f085f92583372c7e198d2884f5c48e2a20912f356b1f8326edb7a8e24cb86'
@@ -94,15 +94,24 @@ module Fastlane
94
94
 
95
95
  def self.resolve_apk_path(apk_path)
96
96
  if !apk_path.to_s.end_with?(".apk")
97
+
98
+ if !File.directory?(apk_path)
99
+ apk_path = File.join(Dir.pwd, apk_path)
100
+ puts apk_path
101
+ end
102
+
97
103
  pattern = File.join(apk_path, '*.apk')
98
104
  files = Dir[pattern]
105
+
99
106
  for file in files
100
107
  if file.to_s.end_with?(".apk") && !file.to_s.end_with?("-signed.apk")
101
108
  apk_path = file
102
109
  break
103
110
  end
104
111
  end
112
+
105
113
  end
114
+
106
115
  apk_path
107
116
  end
108
117
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module MatchKeystore
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-match_keystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher NEY