From 116b54038976601704188b152d4455e9ae81668b Mon Sep 17 00:00:00 2001 From: saint <122591154@qq.com> Date: Tue, 24 Sep 2024 14:40:31 +0800 Subject: [PATCH] Update publish.js --- scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.js b/scripts/publish.js index 19a05b8ff..ab6dcb70e 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -41,7 +41,7 @@ const validateFile = () => { const publishPackage = () => { const distPath = path.resolve(__dirname, `../publish`) - exec(`npm publish ${distPath} --access public${tag ? ` --tag ${tag}` : ''}`, (error, stdout, stderr) => { + exec(`npm publish ${distPath} --access public${tag ? ` --tag ${tag}-2` : ''}`, (error, stdout, stderr) => { if (error) { console.error('Error occurred:', error) console.error('Standard error output:', stderr)