From e874db87a7872760e2d136c67374510dae34a4da Mon Sep 17 00:00:00 2001 From: Stuart Cameron Date: Sat, 12 Sep 2026 17:59:29 +1000 Subject: [PATCH] fix(release): match deps release by tag, not title, in check-deps-changed.sh gh release list's first column is the release title, and no real deps release is titled starting with "deps-v" (e.g. "VapourBox Dependencies 1.9.0") - only a one-off release literally titled "deps-v1.5.0 (test)" matched, so the script always compared against that stale release instead of the actual latest deps-v tag. Extract the tag column first, same as the working pattern already used in get-github-version.sh. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01B7MZjvZntJ6Kb1aBvKjZnP --- Scripts/check-deps-changed.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Scripts/check-deps-changed.sh b/Scripts/check-deps-changed.sh index 23cb318..f73fe31 100755 --- a/Scripts/check-deps-changed.sh +++ b/Scripts/check-deps-changed.sh @@ -30,7 +30,12 @@ if [ -z "$GITHUB_REPO" ]; then GITHUB_REPO="StuartCameronCode/VapourBox" fi -LAST_DEPS_TAG=$(gh release list --repo "$GITHUB_REPO" --limit 50 2>/dev/null | grep -E '^deps-v[0-9]' | head -1 | awk '{print $1}') +# gh release list format: "TITLESTATUSTAGDATE" - extract the tag +# column (not the title) before matching, same as get-github-version.sh. A +# release's title doesn't have to start with "deps-v" (and usually doesn't - +# e.g. "VapourBox Dependencies 1.9.0"), so matching the raw line only ever hit +# a one-off release literally titled "deps-v1.5.0 (test)". +LAST_DEPS_TAG=$(gh release list --repo "$GITHUB_REPO" --limit 50 2>/dev/null | awk -F'\t' '{print $3}' | grep -E '^deps-v[0-9]' | head -1) if [ -z "$LAST_DEPS_TAG" ]; then if $VERBOSE; then