fastlane-plugin-pgyer_cl 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 1da5186e8f48da4ba4625a186f99e08091a0eda6f87f1cbd4737736bd58404d6
4
- data.tar.gz: 2edc6099540f21ec756fa08ed421f3821aa909577f4170c0eca3c797e177bd1e
3
+ metadata.gz: c4b6332a9fe0d36afaa5fecb4b2c4fa4bab43eb06cdf81ae5dd8924063cebe57
4
+ data.tar.gz: edf0e1600f4b6da8735a2be79ebb3d46e5aebab2465d070ff12bc0110bb0335b
5
5
  SHA512:
6
- metadata.gz: 2fc2078ff69683ec2c62b84326179fd1add66cb4597c1028af176aa744f8070a9d2d21260cae11752937aa72be47b202b443451eb7fcb0a828bf454413d5a47a
7
- data.tar.gz: cce9450c41621bedb7a1dac9703c356de1185707c55be0a0e72733b5816fc9f455c9e63418515e39894e10f2122b83db74edd1d74fb2508a1b4dd8aa398b7808
6
+ metadata.gz: cd6ce35c45487d8e921a29f38c2465cc3a8a8ba8cf589acfb3d227d943b9c2fdb2b5131bf1ecf9bf9b9222060106fc16dbdcf4beabeb9b405b145a910370d209
7
+ data.tar.gz: 3dba1082e59d7c81d1046b9fefad02fad56f5db6d342a4a647e691da9ed12b00ba08748c91875b96ef7e97438f3b5377a7f13d64a47c0f1f1f591e69185af77c
@@ -131,16 +131,64 @@ module Fastlane
131
131
  header = {
132
132
  "title": {
133
133
  "tag": "plain_text",
134
- "content": "#{appName}"
135
- }
134
+ "content": "APP发布通知"
135
+ },
136
+ "template": "green"
136
137
  }
137
138
 
138
139
  content = {
139
140
  "tag": "div",
140
- "text": {
141
- "tag": "lark_md",
142
- "content": "**#{appType}#{appEnvironment}发布**\n\n蒲公英版本:**#{appVersion}+#{appBuildVersion}**\n\n更新内容:\n**#{update_description}**"
143
- }
141
+ "fields": [
142
+ {
143
+ "is_short": true,
144
+ "text": {
145
+ "tag": "lark_md",
146
+ "content": "**APP名称:**\n#{appName}"
147
+ }
148
+ },
149
+ {
150
+ "is_short": true,
151
+ "text": {
152
+ "tag": "lark_md",
153
+ "content": "**环境:**\n#{appEnvironment}"
154
+ }
155
+ },
156
+ {
157
+ "is_short": false,
158
+ "text": {
159
+ "tag": "lark_md",
160
+ "content": ""
161
+ }
162
+ },
163
+ {
164
+ "is_short": true,
165
+ "text": {
166
+ "tag": "lark_md",
167
+ "content": "**蒲公英版本:**\n#{appVersion}+#{appBuildVersion}"
168
+ }
169
+ },
170
+ {
171
+ "is_short": true,
172
+ "text": {
173
+ "tag": "lark_md",
174
+ "content": "**下载地址:**\n<a>#{appUrl}</a>"
175
+ }
176
+ },
177
+ {
178
+ "is_short": false,
179
+ "text": {
180
+ "tag": "lark_md",
181
+ "content": ""
182
+ }
183
+ },
184
+ {
185
+ "is_short": false,
186
+ "text": {
187
+ "tag": "lark_md",
188
+ "content": "**更新内容:**\n#{update_description}"
189
+ }
190
+ }
191
+ ]
144
192
  }
145
193
 
146
194
  action = {
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module PgyerCl
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-pgyer_cl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - chenlei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-01 00:00:00.000000000 Z
11
+ date: 2021-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry