From 9f51cde98563d4c3cf39b86a41c10a088519b745 Mon Sep 17 00:00:00 2001 From: Matt White <16320656+matt-FFFFFF@users.noreply.github.com> Date: Tue, 29 Aug 2023 15:02:25 +0100 Subject: [PATCH] fix: test --- .github/actions/version-check/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/version-check/action.yml b/.github/actions/version-check/action.yml index 0233414..e5a0640 100644 --- a/.github/actions/version-check/action.yml +++ b/.github/actions/version-check/action.yml @@ -25,7 +25,7 @@ runs: shell: bash run: | VER=$(curl --silent -L -H "Authorization: Bearer ${{ inputs.github_token }}" -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .name | sed s/^v//) - if [ "$VER" -eq "null" ]; then + if [ "$VER" == "null" ]; then echo "No releases found" echo LATEST_RELEASE="0.0.0" >> "$GITHUB_ENV" exit 0