diff --git a/.github/workflows/release-version.yml b/.github/workflows/release-version.yml index 6fb3b91c1..3638e1724 100644 --- a/.github/workflows/release-version.yml +++ b/.github/workflows/release-version.yml @@ -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