mali-applet-ui 1.1.41 → 1.1.43
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.js +11 -4
- package/package.json +1 -1
package/env/index.js
CHANGED
|
@@ -203,8 +203,11 @@ function uploadWxMiniprogram (rootPath, version) {
|
|
|
203
203
|
desc: fixDesc,
|
|
204
204
|
robot
|
|
205
205
|
}).then((res) => {
|
|
206
|
-
console.log(res)
|
|
206
|
+
console.log('ci.upload success', res)
|
|
207
207
|
resolve()
|
|
208
|
+
}).catch((e) => {
|
|
209
|
+
console.log('ci.upload err', e)
|
|
210
|
+
reject(e)
|
|
208
211
|
})
|
|
209
212
|
} else {
|
|
210
213
|
const e = {}
|
|
@@ -213,8 +216,9 @@ function uploadWxMiniprogram (rootPath, version) {
|
|
|
213
216
|
}
|
|
214
217
|
deleteFolder(path.resolve(rootPath, 'temp'))
|
|
215
218
|
fs.unlinkSync(path.resolve(rootPath, 'sm.zip'))
|
|
216
|
-
|
|
217
|
-
|
|
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)
|