File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 11
11
- uses : actions/checkout@v2
12
12
with :
13
13
fetch-depth : 0 # ensures that tags are fetched, seems to be needed
14
- ref : ${{github.head_ref}}
15
14
- name : Capture commit id
16
15
id : capture
17
16
run : |
Original file line number Diff line number Diff line change 3
3
if [ $INPUT_DRY_RUN ]; then INPUT_DRY_RUN=' --dry-run' ; else INPUT_DRY_RUN=' ' ; fi
4
4
if [ $INPUT_CHANGELOG ]; then INPUT_CHANGELOG=' --changelog' ; else INPUT_CHANGELOG=' ' ; fi
5
5
if [ $INPUT_PRERELEASE ]; then INPUT_PRERELEASE=" --prerelease $INPUT_PRERELEASE " ; else INPUT_PRERELEASE=' ' ; fi
6
- if [ $INPUT_COMMIT ]; then INPUT_COMMIT=' --files-only' ; else INPUT_COMMIT=' ' ; fi
6
+ if [ " $INPUT_COMMIT " == ' false ' ]; then INPUT_COMMIT=' --files-only' ; else INPUT_COMMIT=' ' ; fi
7
7
INPUT_BRANCH=${INPUT_BRANCH:- master}
8
8
INPUT_EXTRA_REQUIREMENTS=${INPUT_EXTRA_REQUIREMENTS:- ' ' }
9
9
REPOSITORY=${INPUT_REPOSITORY:- $GITHUB_REPOSITORY }
You can’t perform that action at this time.
0 commit comments