fastlane-plugin-pgyer_jvtd 0.2.2 → 0.2.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f37bc6e5c06f2d530cfb9e3fd77659143a7b2815d9739ad0c02ff2fbaae4720c
|
4
|
+
data.tar.gz: 9a08a65d33589b1d152f0032aa2a63936d3321a028548a217db46514c748f3c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5866cb5412f7d3c78178cd4f474ca5e794dcbd11d76a07c9b36afb09f984ba2dc47d0db58fb99a050dc753274931630301cead247f6d547dc5f40506d9d3032d
|
7
|
+
data.tar.gz: 9b692a48292e87e0d121bac459746aff61761eaf81306b60d9f745752a6c77fae67474af71b56fa7a622c65623c08deb736840b1d7c80095d5d8068636f8d6e1
|
@@ -17,7 +17,7 @@ module Fastlane
|
|
17
17
|
is_at_all = "0"
|
18
18
|
end
|
19
19
|
|
20
|
-
info =
|
20
|
+
info = nil
|
21
21
|
|
22
22
|
if api_key != "test"
|
23
23
|
build_file = [
|
@@ -89,36 +89,28 @@ module Fastlane
|
|
89
89
|
UI.success "Upload success. Visit this URL to see: https://www.pgyer.com/#{info['data']['appShortcutUrl']}"
|
90
90
|
else
|
91
91
|
end
|
92
|
-
# 应用类型
|
93
|
-
appType = "Android";
|
94
|
-
if info['data']['appType'] == 1
|
95
|
-
appType = "iOS"
|
96
|
-
end
|
97
92
|
|
98
|
-
|
99
|
-
appName =
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
appIcon = ""
|
117
|
-
|
118
|
-
|
119
|
-
appUrl = "https://www.pgyer.com/#{info['data']['appShortcutUrl']}"
|
120
|
-
if appUrl.nil?
|
121
|
-
appUrl = "https://www.pgyer.com"
|
93
|
+
appType = "Android";
|
94
|
+
appName = "测试应用"
|
95
|
+
appVersion = "1.0.0"
|
96
|
+
appBuildVersion = 1
|
97
|
+
appIcon = ""
|
98
|
+
appUrl = "https://www.pgyer.com"
|
99
|
+
if info != nil
|
100
|
+
# 应用类型
|
101
|
+
if info['data']['appType'] == 1
|
102
|
+
appType = "iOS"
|
103
|
+
end
|
104
|
+
# 应用名称
|
105
|
+
appName = info['data']['appName']
|
106
|
+
# 应用版本信息
|
107
|
+
appVersion = info['data']['appVersion']
|
108
|
+
# 应用蒲公英版本
|
109
|
+
appBuildVersion = info['data']['appBuildVersion']
|
110
|
+
# 图标
|
111
|
+
appIcon = "https://appicon.pgyer.com/image/view/app_icons/#{info['data']['appIcon']}"
|
112
|
+
# 地址
|
113
|
+
appUrl = "https://www.pgyer.com/#{info['data']['appShortcutUrl']}"
|
122
114
|
end
|
123
115
|
|
124
116
|
unless access_token.nil?
|