fastlane-plugin-validate_app 0.2.0 → 0.2.1

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
  SHA1:
3
- metadata.gz: 72c3a22f09166d36795a608b4dab6c4ace6ed3b1
4
- data.tar.gz: 9296a0b40d77fbb60944fd7f5bdef51f985e70ab
3
+ metadata.gz: b8d3e8ef9b50f594618caeb2ca5d1a5bccafacb4
4
+ data.tar.gz: 0440afb4eb950734887b220d7b3485cfe407cc5e
5
5
  SHA512:
6
- metadata.gz: cd2e62471bee904b5b98d49ded36fc536446ba37001b6d378b634e6f90678521ab30842bf76103d0df1390dd8481e7a7ba3baf42c2dad0b6b6cc7893414c54a6
7
- data.tar.gz: 65c489b4566325b1bb8b3c5ede7b3b9526c2d065819b56cba3b4c91559355c7bc29ff9658ea4ae296f6eeb53eef8fe466d33490d211effa796ba8d6d7791b27a
6
+ metadata.gz: e968f314c198c645a7d92544df4420fa839cbbb0e53ca15e1598920b9ea433ab47b60a9648832e4befab5dbddc94463fef083df7ef7366e25ac9a4338a353c7a
7
+ data.tar.gz: 76145fa0cae4012f3d0c0d0dbf6e05022871665b80e551a264e9eab3d6587f4ec58942b848a31175bdb9540bcc95fbd292ca969c9bbb9115c3c414fee34481f9
@@ -10,7 +10,9 @@ module Fastlane
10
10
  xcode_contents_path = `dirname "$(xcode-select --print-path)"`.strip
11
11
  altool = "#{xcode_contents_path}/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool".shellescape
12
12
 
13
- UI.message("Validating your app. This may take a while.")
13
+ ipa = params[:ipa].to_s.shellescape
14
+
15
+ UI.message("Validating #{ipa}. This may take a while.")
14
16
 
15
17
  password = "@env:DELIVER_PASSWORD" if ENV["DELIVER_PASSWORD"].to_s.length > 0
16
18
  password = "@env:FASTLANE_PASSWORD" if ENV["FASTLANE_PASSWORD"].to_s.length > 0
@@ -22,7 +24,7 @@ module Fastlane
22
24
  command = [altool]
23
25
  command << "--validate-app"
24
26
  command << "--file"
25
- command << params[:ipa].to_s.shellescape
27
+ command << ipa
26
28
  command << "--username #{params[:username]}"
27
29
  command << "--password"
28
30
  command << password
@@ -31,8 +33,8 @@ module Fastlane
31
33
  plist = Plist.parse_xml(`#{command.join(' ')}`)
32
34
  errors = plist["product-errors"]
33
35
 
34
- if errors.empty?
35
- UI.success("Build is valid. Ready to be uploaded to iTunes Connect!")
36
+ if errors.nil?
37
+ UI.success("IPA file is valid. Ready to be uploaded to iTunes Connect!")
36
38
  return nil
37
39
  end
38
40
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ValidateApp
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-validate_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thi