From 6f46233ad7dcb48fac84a05822bef04d2024461a Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 25 Oct 2025 10:20:32 +0200 Subject: [PATCH] ci: fix tag job with new release workflow A single component version is the development version, everything with more components is not. Thus, we only need to check for a single dot. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 33bd94dfb..5dd9aa711 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -57,7 +57,7 @@ jobs: run: | cabal_version="$(grep -oP '^version:\s*\K.*' postgrest.cabal)" - if [[ "$cabal_version" == *.*.*.* ]]; then + if [[ "$cabal_version" == *.* ]]; then git fetch --tags if [ -z "$(git tag --list "v$cabal_version")" ]; then