From f03e927fe4aee4a4b135bea02738f1ae6b5fe281 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 10 Aug 2026 02:22:50 +1000 Subject: [PATCH] ci: strip the v prefix when matching release tags to changelog sections The gate derived the version with ${tag#archied/}, which leaves "v1.7.0", then looked for a "## [v1.7.0]" heading. Changelog sections carry no v -- tools/release.sh writes and validates "## [1.7.0]" -- so the gate could never match and every tagged release failed before the images were built. This is the gate's first tagged run: it landed in dd9bddc, after the archied/v1.6.0 tag, so nothing had exercised this branch until v1.7.0. --- .github/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 33dc65494..32d5d8e43 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,7 +59,9 @@ jobs: for tag in $(git tag --points-at HEAD); do case "$tag" in archied/v*) - ver="${tag#archied/}" + # Strip the "v" too: tags are archied/vX.Y.Z, changelog + # sections are "## [X.Y.Z]" (see tools/release.sh). + ver="${tag#archied/v}" echo " archied tag $tag -> looking for [$ver] in CHANGELOG.archied.md" grep -q "^## \\[$ver\\]" CHANGELOG.archied.md || { echo " FAIL: CHANGELOG.archied.md has no [$ver] section" @@ -67,7 +69,7 @@ jobs: } ;; archie/v*) - ver="${tag#archie/}" + ver="${tag#archie/v}" echo " archie tag $tag -> looking for [$ver] in CHANGELOG.archie.md" grep -q "^## \\[$ver\\]" CHANGELOG.archie.md || { echo " FAIL: CHANGELOG.archie.md has no [$ver] section"