Skip to content

Commit 149a899

Browse files
committed
fix: pass --tag prerelease for prerelease publishing
1 parent 7b7b21f commit 149a899

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: npm run compile
8686

8787
- name: Publish package
88-
run: npm publish --access public --provenance
88+
run: npm publish --access public --provenance ${{ inputs.version_type == 'prerelease' && '--tag prerelease' || '' }}
8989

9090
- name: Commit and push package modifications
9191
run: |

0 commit comments

Comments
 (0)