We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16e7a61 commit 5ecdaebCopy full SHA for 5ecdaeb
.github/workflows/release.yml
@@ -67,10 +67,11 @@ jobs:
67
GITHUB_TOKEN: ${{ steps.auth.outputs.token }}
68
run: |
69
ARGS=""
70
- if [[ "${{ inputs.bump }}" == "(auto)" ]]; then
71
- ARGS+="${{ inputs.prerelease && format('--conventional-prerelease') || format('') }} "
+ if [[ ${{ inputs.prerelease }}; then
+ ARGS+="--conventional-prerelease "
72
+ ARGS+="${{ inputs.bump == '(auto)' && ' ' || format('pre{0}', inputs.bump) }} "
73
else
- ARGS+="${{ inputs.prerelease && format('pre{0}', inputs.bump) || inputs.bump }} "
74
+ ARGS+="${{ inputs.bump == '(auto)' && '--conventional-graduate' || inputs.bump }} "
75
fi
76
if [[ "${{ inputs.dry-run }}" == "true" ]]; then
77
ARGS+="--dry-run "
0 commit comments