mali-applet-ui 1.1.42 → 1.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/env/index.d.ts CHANGED
@@ -18,4 +18,4 @@ export function sendQyWechatMsg(webhook: string, params: {
18
18
  mentionedList?: string[]
19
19
  mentionedMobileList?: string[]
20
20
  })
21
- export function getBuildSuccessMsg(): string
21
+ export function getBuildSuccessMsg(description: string): string
package/env/index.js CHANGED
@@ -203,9 +203,10 @@ function uploadWxMiniprogram (rootPath, version) {
203
203
  desc: fixDesc,
204
204
  robot
205
205
  }).then((res) => {
206
- console.log('ci.upload', res)
206
+ console.log('ci.upload success', res)
207
207
  resolve()
208
208
  }).catch((e) => {
209
+ console.log('ci.upload err', e)
209
210
  reject(e)
210
211
  })
211
212
  } else {
@@ -215,6 +216,9 @@ function uploadWxMiniprogram (rootPath, version) {
215
216
  }
216
217
  deleteFolder(path.resolve(rootPath, 'temp'))
217
218
  fs.unlinkSync(path.resolve(rootPath, 'sm.zip'))
219
+ }).catch((e) => {
220
+ console.log('compressing err', res)
221
+ reject(e)
218
222
  })
219
223
  }).catch(e => {
220
224
  if (e.message.indexOf('-80407') > -1) {
@@ -224,8 +228,11 @@ function uploadWxMiniprogram (rootPath, version) {
224
228
  desc: '修复bug',
225
229
  robot: 1
226
230
  }).then((res) => {
227
- console.log(res)
231
+ console.log('ci.upload success', res)
228
232
  resolve()
233
+ }).catch((e) => {
234
+ console.log('ci.upload err', e)
235
+ reject(e)
229
236
  })
230
237
  } else {
231
238
  console.log(e.message)
@@ -276,9 +283,9 @@ function sendQyWechatMsg (webhook, params) {
276
283
  })
277
284
  }
278
285
 
279
- function getBuildSuccessMsg () {
286
+ function getBuildSuccessMsg (description) {
280
287
  return `
281
- # <font color="info">${[getCustomName(process.env.VUE_APP_CUSTOM_MODULE), pack.description, '-', getEnvName(process.env.VUE_APP_MODE), '已更新'].join('')}</font>
288
+ # <font color="info">${[getCustomName(process.env.VUE_APP_CUSTOM_MODULE), description, '-', getEnvName(process.env.VUE_APP_MODE), '已更新'].join('')}</font>
282
289
  >> 构建时间:<font color="comment">${XEUtils.toDateString(XEUtils.toStringDate(process.env.VUE_APP_PUBLISH_DATE, 'yyyyMMddHHmmss'), 'yyyy-MM-dd HH:mm:ss')}</font>
283
290
  <font color="comment">-自动化发版</font>`
284
291
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.42",
3
+ "version": "1.1.44",
4
4
  "description": "码里UI-小程序组件库(vue2)",
5
5
  "files": [
6
6
  "lib",