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

This commit is contained in:
filtered
2025-07-01 15:06:08 -07:00
committed by GitHub
parent df710945c9
commit d68391a80a

View File

@@ -35,7 +35,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