fastlane-plugin-altool 0.1.2 → 0.1.3

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: 871d9ef73a44d46b086e7603c547c620f86ce67d
4
- data.tar.gz: 6336407053a68fb6ed312049e7fb1ca068e992c7
3
+ metadata.gz: a297e9856dca64e2f177a848064cf860e55dae60
4
+ data.tar.gz: 145daf963652dc7f6b3969470e367a29f63dd18a
5
5
  SHA512:
6
- metadata.gz: 7cfc449d858c9e367dc91e7c8e13c7f7ffc0ce1ecbbe1d491229bcbfd1ba483ce342888fecde7112451127d4edefc42158a8f12e97529b7ed6eef4e608ec39aa
7
- data.tar.gz: 2332ccfc511d28c4b3578b13f88a8736622bdbb71a7561fe552e270e44dbf15ee092dae174f82c74f29a6050a584fafbd0fe215d5acb944d36c1ad1538a7abed
6
+ metadata.gz: 02b11900d5d95f283ab468371e49dbfd4f080eeeca186e5dfd20b95b90bd492b57c57d15ce6b782dc1f50a85d4ce57942372c7b9173ded08b8a2705b3b6235df
7
+ data.tar.gz: 6ec5bca7bd46fc2650888aca35763e9d203c5576d6d375d3024d501be234797fd82e0b0e5fd6118035c5bc548c7da0cc911056ac8f1620b7effb9f4af7622fae
data/README.md CHANGED
@@ -28,11 +28,16 @@ This plugin assume that, you already have that Fastlane setup and your details a
28
28
  You can configure this plaugin using
29
29
 
30
30
  ```
31
- altool(
32
- app_type: "ios",
33
- ipa_path: "./build/Your-ipa.ipa",
34
- output_format: "xml",
35
- )
31
+ lane :upload_ipa_altool do
32
+ altool(
33
+ altool_usename: ENV["FASTLANE_USER"],
34
+ altool_password: ENV["FASTLANE_PASSWORD"]
35
+ altool_app_type: "ios",
36
+ altool_ipa_path: "./build/Your-ipa.ipa",
37
+ altool_output_format: "xml",
38
+ )
39
+
40
+ end
36
41
  ```
37
42
 
38
43
 
@@ -12,8 +12,8 @@ module Fastlane
12
12
 
13
13
  altool_app_type = params[:altool_app_type]
14
14
  altool_ipa_path = params[:altool_ipa_path]
15
- altool_usename = ENV["FASTLANE_USER"]
16
- altool_password = ENV['FASTLANE_PASSWORD']
15
+ altool_usename = params[:altool_username]
16
+ altool_password = params[:altool_password]
17
17
  altool_output_format = params[:altool_output_format]
18
18
 
19
19
  command = [
@@ -72,6 +72,28 @@ module Fastlane
72
72
  UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?(".ipa")
73
73
  end),
74
74
 
75
+ FastlaneCore::ConfigItem.new(key: :altool_username,
76
+ env_name: "ALTOOL_USERNAME",
77
+ description: "Your Apple ID for iTunes Connects. This usually FASTLANE_USER environmental variable",
78
+ is_string: true,
79
+ default_value: ENV["FASTLANE_USER"],
80
+ optional: false,
81
+ verify_block: proc do |value|
82
+ value = ENV["FASTLANE_USER"]
83
+ UI.user_error!("FASTLANE_USER environmental varibale is not set") if value.empty?
84
+ end),
85
+
86
+ FastlaneCore::ConfigItem.new(key: :altool_password,
87
+ env_name: "ALTOOL_PASSWORD",
88
+ description: "Your Apple ID Password for iTunes Connects. This usually FASTLANE_PASSWORD environmental variable",
89
+ is_string: true,
90
+ default_value: ENV["FASTLANE_PASSWORD"],
91
+ optional: false,
92
+ verify_block: proc do |value|
93
+ value = ENV["FASTLANE_PASSWORD"]
94
+ UI.user_error!("FASTLANE_PASSWORD environmental varibale is not set") if value.empty?
95
+ end),
96
+
75
97
  FastlaneCore::ConfigItem.new(key: :altool_output_format,
76
98
  env_name: "ALTOOL_OUTPUT_FORMAT",
77
99
  description: "Output formal xml or normal ",
@@ -84,10 +106,12 @@ module Fastlane
84
106
 
85
107
  def self.example_code
86
108
  [' altool(
87
- app_type: "ios",
88
- ipa_path: "./build/Your-ipa.ipa",
89
- output_format: "xml",
90
- )
109
+ altool_usename: ENV["FASTLANE_USER"],
110
+ altool_password: ENV["FASTLANE_PASSWORD"]
111
+ altool_app_type: "ios",
112
+ altool_ipa_path: "./build/Your-ipa.ipa",
113
+ altool_output_format: "xml",
114
+ )
91
115
  ']
92
116
  end
93
117
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Altool
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-altool
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
  - Shashikant Jagtap