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