From 595f9d6e95556bc6a295406751bbe7099e2b344b Mon Sep 17 00:00:00 2001 From: Mohamad Jaara Date: Tue, 7 Jan 2025 09:31:05 +0100 Subject: [PATCH] chore: fix prod gb action --- .github/workflows/build-prod-app.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-prod-app.yml b/.github/workflows/build-prod-app.yml index b42866dfe69..d5881e7fd18 100644 --- a/.github/workflows/build-prod-app.yml +++ b/.github/workflows/build-prod-app.yml @@ -36,8 +36,7 @@ jobs: run: | current_tag=${{ github.event.release.tag_name }} latest_tag=${{ steps.get_latest_release.outputs.latest_tag }} - - if [[ "$current_tag" != "$(echo -e "$current_tag\n$latest_tag" | sort -V | head -n1)" ]]; then + if [[ "$current_tag" == "$(echo -e "$current_tag\n$latest_tag" | sort -V | head -n1)" ]]; then echo "Current tag ($current_tag) is lower than latest tag ($latest_tag). Failing the workflow." exit 1 else