From fefe3439f4a838f4de2d0669e2d44bff4d875295 Mon Sep 17 00:00:00 2001 From: Ricardo Campos Date: Sun, 5 Apr 2026 16:57:01 -0300 Subject: [PATCH] fix: list backend tags. oh boy --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6b3154f..2cf6a08 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -54,11 +54,11 @@ jobs: backend_image="${{ github.event.inputs.backend_image }}" frontend_image="${{ github.event.inputs.frontend_image }}" - latest_backend_tag="$(git tag --list 'v[0-9]*' | sort -V | tail -n1)" + latest_backend_tag="$(git tag --list '[0-9]*' | sort -V | tail -n1)" latest_frontend_tag="$(git tag --list 'app-v*' | sort -V | tail -n1))" if [ -z "$latest_backend_tag" ]; then - echo "No backend tag found matching v[0-9]*" >&2 + echo "No backend tag found matching [0-9]*" >&2 exit 1 fi