Skip to content

Commit

Permalink
chore: fix prod gb action
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara committed Jan 7, 2025
1 parent d0301b4 commit 595f9d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-prod-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 595f9d6

Please sign in to comment.