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.
This commit is contained in:
Wolfgang Walther
2025-10-25 10:21:51 +02:00
parent e913efb8cb
commit d245e07df5
+1 -1
View File
@@ -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