From d8b3de729009bd00f68b8a10806f2d1f91182230 Mon Sep 17 00:00:00 2001 From: MrWangJustToDo <2711470541@qq.com> Date: Sun, 14 Jan 2024 00:49:12 +0800 Subject: [PATCH] fix release script --- scripts/release.ts | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/scripts/release.ts b/scripts/release.ts index 989555bf..719ad19b 100644 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -64,12 +64,16 @@ const release = async (pkgName: keyof typeof pkgNameAlias) => { } }; -release("@my-react/react"); -release("@my-react/react-dom"); -release("@my-react/react-jsx"); -release("@my-react/react-reactive"); -release("@my-react/react-reconciler"); -release("@my-react/react-refresh"); -release("@my-react/react-shared"); -release("@my-react/react-refresh-tools"); -release("@my-react/react-vite"); +const run = async () => { + await release("@my-react/react"); + await release("@my-react/react-dom"); + await release("@my-react/react-jsx"); + await release("@my-react/react-reactive"); + await release("@my-react/react-reconciler"); + await release("@my-react/react-refresh"); + await release("@my-react/react-shared"); + await release("@my-react/react-refresh-tools"); + await release("@my-react/react-vite"); +}; + +run();