Skip to content

Fix check-deps-changed.sh matching the wrong release - #95

Merged
StuartCameronCode merged 1 commit into
mainfrom
fix/check-deps-changed-tag-match
Sep 12, 2026
Merged

StuartCameronCode merged 1 commit into
mainfrom
fix/check-deps-changed-tag-match

Conversation

@StuartCameronCode

Copy link
Copy Markdown
Owner

Summary

  • gh release list's output is TITLE<tab>STATUS<tab>TAG<tab>DATE. check-deps-changed.sh was matching ^deps-v[0-9] against the raw line (i.e. the title), not the tag column.
  • No real deps release is titled starting with deps-v (they're "VapourBox Dependencies 1.9.0", "VapourBox deps 1.10.0", etc.) — only a one-off release literally titled deps-v1.5.0 (test) ever matched, so the script always diffed against that stale June release instead of the actual latest deps-v* tag (currently the deps-v1.10.0 draft).
  • Fixed by extracting the tag column first with awk -F'\t' '{print $3}', the same pattern get-github-version.sh already uses correctly.

Found while manually checking whether the latest deps draft release was up to date with current code — the script's own answer for that question was wrong.

Test plan

  • ./Scripts/check-deps-changed.sh --verbose now reports Last deps release: deps-v1.10.0 (previously deps-v1.5.0) and correctly resolves its target commit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B7MZjvZntJ6Kb1aBvKjZnP

…nged.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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B7MZjvZntJ6Kb1aBvKjZnP
@StuartCameronCode
StuartCameronCode merged commit e78bbd5 into main Sep 12, 2026
4 of 8 checks passed
StuartCameronCode added a commit that referenced this pull request Sep 12, 2026
…tag-match

Fix check-deps-changed.sh matching the wrong release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant