Fix bug where check always exits 1
This commit is contained in:
parent
91c1d53d79
commit
207d4ca8af
3
.github/workflows/create-release.yml
vendored
3
.github/workflows/create-release.yml
vendored
@ -21,7 +21,8 @@ jobs:
|
|||||||
id: changes
|
id: changes
|
||||||
run: |
|
run: |
|
||||||
CHANGES=$(git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline)
|
CHANGES=$(git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline)
|
||||||
if [ -z "$CHANGES" ]; then exit 1; else exit 1; fi
|
echo "$CHANGES"
|
||||||
|
if [ -z "$CHANGES" ]; then exit 1; else exit 0; fi
|
||||||
|
|
||||||
- name: Bump version and push tag
|
- name: Bump version and push tag
|
||||||
if: steps.changes.outputs.any_changed == 'true'
|
if: steps.changes.outputs.any_changed == 'true'
|
||||||
|
Loading…
Reference in New Issue
Block a user