Fix bug where check always exits 1

This commit is contained in:
Luke Tainton 2024-07-15 21:01:09 +01:00
parent 91c1d53d79
commit 207d4ca8af
No known key found for this signature in database

View File

@ -21,7 +21,8 @@ jobs:
id: changes
run: |
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
if: steps.changes.outputs.any_changed == 'true'