@pisell/common 0.0.29 → 0.0.30
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.
|
@@ -221,13 +221,17 @@ function _init() {
|
|
|
221
221
|
}]
|
|
222
222
|
});
|
|
223
223
|
case 70:
|
|
224
|
-
|
|
224
|
+
if (!(res.project.fileName === 'my_pisel_shop')) {
|
|
225
|
+
_context.next = 73;
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
_context.next = 73;
|
|
225
229
|
return updateVersion({
|
|
226
230
|
version: version,
|
|
227
231
|
changelog: res.changelog
|
|
228
232
|
}, res.env);
|
|
229
|
-
case
|
|
230
|
-
_context.next =
|
|
233
|
+
case 73:
|
|
234
|
+
_context.next = 75;
|
|
231
235
|
return sendWebhook({
|
|
232
236
|
title: "".concat(res.project.fileName, " ").concat(res.env, "\u73AF\u5883").concat(res.is_release ? '上传并发布' : '上传', "\u6210\u529F"),
|
|
233
237
|
content: [{
|
|
@@ -241,9 +245,9 @@ function _init() {
|
|
|
241
245
|
value: version || ''
|
|
242
246
|
}]
|
|
243
247
|
});
|
|
244
|
-
case 74:
|
|
245
|
-
uploadCode.deleteLocalZip();
|
|
246
248
|
case 75:
|
|
249
|
+
uploadCode.deleteLocalZip();
|
|
250
|
+
case 76:
|
|
247
251
|
case "end":
|
|
248
252
|
return _context.stop();
|
|
249
253
|
}
|
|
@@ -178,13 +178,15 @@ async function init() {
|
|
|
178
178
|
]
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
181
|
+
if (res.project.fileName === "my_pisel_shop") {
|
|
182
|
+
await updateVersion(
|
|
183
|
+
{
|
|
184
|
+
version,
|
|
185
|
+
changelog: res.changelog
|
|
186
|
+
},
|
|
187
|
+
res.env
|
|
188
|
+
);
|
|
189
|
+
}
|
|
188
190
|
await (0, import_utils.sendWebhook)({
|
|
189
191
|
title: `${res.project.fileName} ${res.env}环境${res.is_release ? "上传并发布" : "上传"}成功`,
|
|
190
192
|
content: [
|