From eea7ed9e5834db6fb0dbdec30eada2a2fd0bea02 Mon Sep 17 00:00:00 2001 From: yhh <359807859@qq.com> Date: Sun, 23 Nov 2025 22:46:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E5=B0=86=20npm=20version=20?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20pnpm=20version=20=E4=BF=AE=E5=A4=8D=20work?= =?UTF-8?q?space=20=E5=8D=8F=E8=AE=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e25a98c5..9f60e0c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,9 +72,9 @@ jobs: run: | cd packages/${{ github.event.inputs.package }} if [ "${{ github.event.inputs.version_type }}" = "custom" ]; then - npm version ${{ github.event.inputs.custom_version }} --no-git-tag-version --allow-same-version + pnpm version ${{ github.event.inputs.custom_version }} --no-git-tag-version --allow-same-version else - npm version ${{ github.event.inputs.version_type }} --no-git-tag-version + pnpm version ${{ github.event.inputs.version_type }} --no-git-tag-version fi NEW_VERSION=$(node -p "require('./package.json').version") echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT