From 74bcce130ab12d5db63639179632f4d7d4e2c5f3 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 9 Oct 2026 16:55:01 -0700 Subject: Release prep for v7.0.0 (#2488) - RELEASE-NOTES.md: v7.0.0 section covering everything on dev since v6.4.2, led by the brainstorming rebuild (#2463, #2482, #2483) - Bump all 11 declared manifests to 7.0.0; OpenCode pin examples point at #v7.0.0 - bump-version.sh --audit matches whole version strings only, so 7.0.0 no longer matches inside 127.0.0.1 - test-render-graphs.sh resolves the real node binary so its empty-PATH case works under version-manager shims (mise, asdf) --- scripts/bump-version.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 14ead00..2f3acee 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -188,7 +188,9 @@ cmd_audit() { declared_paths+=("$path") done < <(declared_files) - # Grep for the version string + # Grep for the version string, but not inside a longer number such as an + # IP address; a "v" prefix or surrounding quotes still match. + local version_pattern="(^|[^0-9.])${current_version//./\\.}([^0-9]|$)" local found_undeclared=0 while IFS= read -r match; do local match_file @@ -212,7 +214,7 @@ cmd_audit() { fi echo " $match" fi - done < <(grep -rn "${exclude_args[@]}" -F "$current_version" "$REPO_ROOT" 2>/dev/null || true) + done < <(grep -rnE "${exclude_args[@]}" "$version_pattern" "$REPO_ROOT" 2>/dev/null || true) if [[ "$found_undeclared" -eq 0 ]]; then echo "No undeclared files contain the version string. All clear." -- cgit