We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a578a5 commit d7f45c8Copy full SHA for d7f45c8
.github/workflows/release.yml
@@ -4,6 +4,8 @@ on:
4
inputs:
5
increment:
6
description: "Release increment (e.g. patch, minor, major)"
7
+ required: false
8
+ default: ""
9
type: choice
10
options:
11
- patch
@@ -35,7 +37,7 @@ jobs:
35
37
- name: Release package
36
38
run: |
39
ARGS=""
- if [[ -n "${{ github.event.inputs.increment }}" ]]; then
40
+ if [[ "${{ github.event.inputs.increment }}" != "" ]]; then
41
ARGS+="${{ github.event.inputs.increment }}"
42
fi
43
if [[ -n "${{ github.event.inputs.prerelease }}" ]]; then
0 commit comments