From 0262c573ae5b4d7ec67066aa49536c9e05422eb1 Mon Sep 17 00:00:00 2001 From: v-zhangjc9 Date: Thu, 29 May 2025 10:36:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(bin):=20=E4=BF=AE=E5=A4=8D=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=84=9A=E6=9C=AC=E8=8E=B7=E5=8F=96jar=E5=8C=85?= =?UTF-8?q?=E7=9A=84=E5=8C=B9=E9=85=8D=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/build-cli.js | 4 ++-- bin/build-executor-manager.js | 4 ++-- bin/build-executor-task.js | 4 ++-- bin/build-patch.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/build-cli.js b/bin/build-cli.js index 3005e06..8bfe6b8 100644 --- a/bin/build-cli.js +++ b/bin/build-cli.js @@ -1,6 +1,6 @@ import {cd, path} from 'zx' import {trim} from "licia"; -import {run_deploy_batch, run_deploy_root, run_package, run_upload_normal} from "./library.js"; +import {run_deploy_batch, run_deploy_root, run_package, run_upload} from "./library.js"; // 切换目录 cd(trim(path.dirname(import.meta.dirname))) @@ -9,7 +9,7 @@ try { await run_deploy_root() await run_deploy_batch(['service-cli', 'service-cli/service-cli-core']) await run_package('service-cli/service-cli-runner') - await run_upload_normal('service-cli-runner', 'service-cli') + await run_upload('**/service-cli-runner-1.0.0-SNAPSHOT.jar') } catch (e) { console.error(e) } \ No newline at end of file diff --git a/bin/build-executor-manager.js b/bin/build-executor-manager.js index 9a606d7..fc931ed 100644 --- a/bin/build-executor-manager.js +++ b/bin/build-executor-manager.js @@ -1,6 +1,6 @@ import {cd, path} from 'zx' import {trim} from "licia"; -import {run_deploy_batch, run_deploy_root, run_package, run_upload_normal} from "./library.js"; +import {run_deploy_batch, run_deploy_root, run_package, run_upload} from "./library.js"; // 切换目录 cd(trim(path.dirname(import.meta.dirname))) @@ -9,7 +9,7 @@ try { await run_deploy_root() await run_deploy_batch(['service-common', 'service-dependencies', 'service-configuration', 'service-forest', 'service-executor', 'service-executor/service-executor-core']) await run_package('service-executor/service-executor-manager') - await run_upload_normal('service-executor-manager', 'service-executor') + await run_upload('**/service-executor-manager-1.0.0-SNAPSHOT.jar') } catch (e) { console.error(e) } \ No newline at end of file diff --git a/bin/build-executor-task.js b/bin/build-executor-task.js index 944dc8a..b474c76 100644 --- a/bin/build-executor-task.js +++ b/bin/build-executor-task.js @@ -1,6 +1,6 @@ import {cd, path} from 'zx' import {trim} from "licia"; -import {run_deploy_batch, run_deploy_root, run_package, run_upload_normal} from "./library.js"; +import {run_deploy_batch, run_deploy_root, run_package, run_upload} from "./library.js"; // 切换目录 cd(trim(path.dirname(import.meta.dirname))) @@ -9,7 +9,7 @@ try { await run_deploy_root() await run_deploy_batch(['service-common', 'service-dependencies', 'service-configuration', 'service-forest', 'service-executor', 'service-executor/service-executor-core']) await run_package('service-executor/service-executor-task') - await run_upload_normal('service-executor-task', 'service-executor') + await run_upload('**/service-executor-task-1.0.0-SNAPSHOT.jar') } catch (e) { console.error(e) } \ No newline at end of file diff --git a/bin/build-patch.js b/bin/build-patch.js index 2e2596b..91809ab 100644 --- a/bin/build-patch.js +++ b/bin/build-patch.js @@ -1,6 +1,6 @@ import {cd, path} from 'zx' import {trim} from "licia"; -import {run_deploy_batch, run_deploy_root, run_package, run_upload_normal} from "./library.js"; +import {run_deploy_batch, run_deploy_root, run_package, run_upload} from "./library.js"; // 切换目录 cd(trim(path.dirname(import.meta.dirname))) @@ -9,7 +9,7 @@ try { await run_deploy_root() await run_deploy_batch(['service-common']) await run_package('utils/patch') - await run_upload_normal('**/patch-1.0.0-SNAPSHOT.jar') + await run_upload('**/patch-1.0.0-SNAPSHOT.jar') } catch (e) { console.error(e) } \ No newline at end of file