diff options
Diffstat (limited to '.github/workflows/main.yml')
| -rw-r--r-- | .github/workflows/main.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bed5397..fb80daf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,10 +47,11 @@ jobs: if [[ "${{github.event.inputs.bump}}" != "none" ]]; then OUT=$(semver bump ${{github.event.inputs.bump}} "$VERSION") printf "OUT: ${OUT}\n" - else - printf "previous tag is a release, but no bump selected. Defaulting to a patch bump.\n" - OUT=$(semver bump patch "$VERSION") - printf "OUT: ${OUT}\n" + else + printf "no bump selected. Defaulting to a patch bump.\n" + OUT=$(semver bump patch "$VERSION") + printf "OUT: ${OUT}\n" + fi echo "vOUT: v$OUT" echo tag_name=v$OUT >> $GITHUB_OUTPUT - name: Push tag 📤 |
