File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Beta
1+ name : Version Bump
22
33on :
44 workflow_dispatch :
1212 - express-zod-api
1313 - migration
1414 kind :
15- description : ' Making pre- what? '
15+ description : ' Version bump kind '
1616 required : true
17- default : ' release '
17+ default : ' patch '
1818 type : choice
1919 options :
2020 - major
2121 - minor
2222 - patch
23- - release
23+ - premajor
24+ - preminor
25+ - prepatch
26+ - prerelease
2427
2528permissions :
2629 contents : write
4245 - name : Bumpp ${{inputs.workspace}}
4346 run : |
4447 pnpm -F ${{inputs.workspace}} exec \
45- pnpm dlx bumpp pre${{ inputs.kind }} --preid beta --tag=${{inputs.workspace}}-v%s -y
48+ pnpm dlx bumpp ${{inputs.kind}} \
49+ ${{ startsWith(inputs.kind, 'pre') && '--preid beta' || '' }} \
50+ --tag=${{inputs.workspace}}-v%s -y
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments