Commit 2ed5542b authored by 王曜嵚 Wang Yaoqin's avatar 王曜嵚 Wang Yaoqin

dev: 改变项目文件临时目录

parent 590d9caa
......@@ -32,7 +32,7 @@ export default defineEventHandler(async (event) => {
const versionWeb = /<logwire-libs\.version>(.*?)<\/logwire-libs\.version>/.exec(pomVersionStr)?.[1]
try {
await docker.execContainerCommand({ container, cmd: 'mv -bf ./projects ../tenants_config', dir: '/var/logwire-platform/dist'})
await docker.execContainerCommand({ container, cmd: 'mv -bf ./projects ../../tenants_config', dir: '/var/logwire-platform/dist'})
} catch (err) {}
await docker.execContainerCommand({ container, cmd: 'rm -rf dist', dir: '/var/logwire-platform'})
await docker.execContainerCommand({ container, cmd: 'mkdir -p dist/lib', dir: '/var/logwire-platform'})
......@@ -41,7 +41,7 @@ export default defineEventHandler(async (event) => {
await docker.execContainerCommand({ container, cmd: `cp logwire-build/logwire-server/logwire-starter/target/logwire-starter-${version}.jar dist/`, dir: '/var/logwire-platform'})
await docker.execContainerCommand({ container, cmd: `cp logwire-build/logwire-server/logwire-libs/logwire-web/target/logwire-web-${versionWeb}.jar dist/lib/`, dir: '/var/logwire-platform'})
try {
await docker.execContainerCommand({ container, cmd: 'mv -f ../tenants_config ./projects', dir: '/var/logwire-platform/dist'})
await docker.execContainerCommand({ container, cmd: 'mv -f ../../tenants_config ./projects', dir: '/var/logwire-platform/dist'})
} catch (err) {}
await copyAndCreateServerPropertiesV1InDocker(username)
LogUtil.printInfo(username, '编译完成')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment