diff --git a/.github/workflows/build-prod-app.yml b/.github/workflows/build-prod-app.yml index b42866dfe6..d5881e7fd1 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