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 +1 -1
- package/env/index.js +11 -4
- package/package.json +1 -1
package/env/index.d.ts
CHANGED
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),
|
|
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
|
}
|