fix(ci): 修复首次发布时版本号未改变的错误

This commit is contained in:
YHH
2025-10-27 10:03:14 +08:00
parent 7ef70d7f9a
commit cb6561e27b

View File

@@ -66,7 +66,7 @@ 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
npm 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
fi