[CI] Fix prerelease version tag not set (#1098)

This commit is contained in:
filtered
2025-07-01 15:06:07 -07:00
committed by GitHub
parent a80312280d
commit 6f9d5a7a5b

View File

@@ -36,7 +36,7 @@ jobs:
- name: Bump version
id: bump-version
run: |
npm version ${{ github.event.inputs.version_type }} --no-git-tag-version
npm version ${{ github.event.inputs.version_type }} --preid ${{ github.event.inputs.pre_release }} --no-git-tag-version
NEW_VERSION=$(node -p "require('./package.json').version")
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_OUTPUT