We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24e6bb commit 96f0039Copy full SHA for 96f0039
1 file changed
.github/workflows/release.yml
@@ -8,10 +8,11 @@ on:
8
required: true
9
type: choice
10
options:
11
+ - auto
12
- patch
13
- minor
14
- major
- default: 'patch'
15
+ default: 'auto'
16
17
permissions:
18
contents: read
@@ -57,4 +58,8 @@ jobs:
57
58
env:
59
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60
run: |
- semantic-release version --${{ inputs.bump_type }} --commit --tag --push --vcs-release
61
+ if [ "${{ inputs.bump_type }}" = "auto" ]; then
62
+ semantic-release version --commit --tag --push --vcs-release
63
+ else
64
+ semantic-release version --${{ inputs.bump_type }} --commit --tag --push --vcs-release
65
+ fi
0 commit comments