From e444e855c0deb7d95eb22845a77f7284ba27c566 Mon Sep 17 00:00:00 2001 From: Maurice Date: Sun, 8 Nov 2026 15:48:30 +0100 Subject: [PATCH] fix(ci): the release counts only plain vX.Y.Z tags, not the apps' TestFlight tags [skip ci] --- .github/workflows/docker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3f788a3ef..d3aa2998d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -140,7 +140,9 @@ jobs: set -eu # Derive version from git tags, no package.json dependency - STABLE_TAG=$(git tag -l 'v[0-9]*.[0-9]*.[0-9]*' | grep -v '\-pre\.' | sort -V | tail -1) + # Only a plain vX.Y.Z is a release: the glob alone also matches the apps' TestFlight tags + # (v5.1.0-tf.15), whose suffix then broke the arithmetic below. + STABLE_TAG=$(git tag -l 'v[0-9]*.[0-9]*.[0-9]*' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -1) STABLE="${STABLE_TAG#v}" STABLE="${STABLE:-0.0.0}"