优化下载打包

This commit is contained in:
aixianling
2022-12-28 16:05:27 +08:00
parent c7596d08da
commit 236ff91eaf
2 changed files with 4 additions and 4 deletions

View File

@@ -16,8 +16,8 @@ module.exports = {
wxwork: 'base-wxcp',
mp: 'dvcp_v2_wxmp'
}[info.type] || {}
const path = `/home/deploy/node_deploy/${buildPath}`,
{dist} = info
const path = `../${buildPath}`,
{dist = `../zips/${id}`} = info
Promise.all([
execute(`./shell/update.sh ${info.name} ${path}`),
db.query(sql)