Skip to content

Commit

Permalink
build: use prepatch/minor/major command for prerelease (#2627)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored May 18, 2023
1 parent 06bdaa0 commit 7813ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Tag beta
if: ${{ github.event.inputs.releaseType === 'beta' }}
run: npm version prerelease --preid=beta
run: npm version pre${{ github.event.inputs.releaseType }} --preid=beta

- name: Tag stable
if: ${{ github.event.inputs.releaseType === 'stable' }}
Expand Down

0 comments on commit 7813ec1

Please sign in to comment.