From 207d4ca8af697684ea956081c86ad0a4c3dd1582 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Mon, 15 Jul 2024 21:01:09 +0100 Subject: [PATCH] Fix bug where check always exits 1 --- .github/workflows/create-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index d0fd1dc..16ef258 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -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'