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 +4 -4
- data/README.md +10 -5
- data/lib/fastlane/plugin/altool/actions/altool_action.rb +30 -6
- data/lib/fastlane/plugin/altool/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a297e9856dca64e2f177a848064cf860e55dae60
|
4
|
+
data.tar.gz: 145daf963652dc7f6b3969470e367a29f63dd18a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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 =
|
16
|
-
altool_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
|
-
|
88
|
-
|
89
|
-
|
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
|
|