Skip to content

Commit d68391a

Browse files
authored
[CI] Fix prerelease version tag not set (#4322)
1 parent df71094 commit d68391a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/version-bump.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Bump version
3636
id: bump-version
3737
run: |
38-
npm version ${{ github.event.inputs.version_type }} --no-git-tag-version
38+
npm version ${{ github.event.inputs.version_type }} --preid ${{ github.event.inputs.pre_release }} --no-git-tag-version
3939
NEW_VERSION=$(node -p "require('./package.json').version")
4040
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_OUTPUT
4141

0 commit comments

Comments
 (0)