From 7207516ba4ad1d1fcce7f017df713b9f4aa6c1b7 Mon Sep 17 00:00:00 2001 From: Michael Ramos Date: Wed, 9 Sep 2026 20:16:18 -0700 Subject: [PATCH] chore: pin plannotator-tui 0.8.0 Full mode bundles plannotator-tui 0.8.0: file reviews send only new annotations, the Review menu, finish review with archive and restore, and the OSC 52 copy path pinned with tests. Fetch and manifest tests expect the new pin. --- plannotator-tui.version | 2 +- scripts/test-fetch-plannotator-tui.ps1 | 4 ++-- scripts/test-fetch-plannotator-tui.sh | 8 ++++---- scripts/test-windows-full-manifest.py | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plannotator-tui.version b/plannotator-tui.version index faef31a..a3df0a6 100644 --- a/plannotator-tui.version +++ b/plannotator-tui.version @@ -1 +1 @@ -0.7.0 +0.8.0 diff --git a/scripts/test-fetch-plannotator-tui.ps1 b/scripts/test-fetch-plannotator-tui.ps1 index fccc89c..0f6a14a 100644 --- a/scripts/test-fetch-plannotator-tui.ps1 +++ b/scripts/test-fetch-plannotator-tui.ps1 @@ -74,7 +74,7 @@ try { $result = Invoke-Fetcher Assert-True ($result.ExitCode -eq 0) "local override failed: $($result.Output)" Assert-BytesEqual $source $destination "local override bytes differ" - Assert-True ((Get-Content -LiteralPath $stamp -Raw) -ceq "0.7.0") "local stamp differs" + Assert-True ((Get-Content -LiteralPath $stamp -Raw) -ceq "0.8.0") "local stamp differs" $env:PLANNOTATOR_TUI_BIN = $null $env:PLANNOTATOR_TUI_RELEASE_BASE = "http://127.0.0.1:1/must-not-be-requested" @@ -120,7 +120,7 @@ try { Assert-True ($result.ExitCode -eq 0) "download fixture failed: $($result.Output)" Assert-True ($result.Output -match "x86_64-pc-windows-msvc") "x64 target was not selected" Assert-BytesEqual $source $destination "downloaded destination bytes differ" - Assert-True ((Get-Content -LiteralPath $stamp -Raw) -ceq "0.7.0") "download stamp differs" + Assert-True ((Get-Content -LiteralPath $stamp -Raw) -ceq "0.8.0") "download stamp differs" Set-Content -LiteralPath $stamp -NoNewline -Value "preserve-this-stamp" $beforeHash = (Get-FileHash -Algorithm SHA256 -LiteralPath $destination).Hash diff --git a/scripts/test-fetch-plannotator-tui.sh b/scripts/test-fetch-plannotator-tui.sh index 6a6afbf..c223e43 100644 --- a/scripts/test-fetch-plannotator-tui.sh +++ b/scripts/test-fetch-plannotator-tui.sh @@ -14,7 +14,7 @@ cp "$repository_root/plannotator-tui.version" "$plugin_root/" source_binary="$source_root/plannotator-tui local" cat > "$source_binary" <<'EOF' #!/usr/bin/env sh -printf 'plannotator-tui 0.7.0\n' +printf 'plannotator-tui 0.8.0\n' EOF chmod +x "$source_binary" printf 'old destination' > "$plugin_root/bin/plannotator-tui.exe" @@ -23,10 +23,10 @@ printf 'old-version' > "$plugin_root/bin/plannotator-tui.version" PLANNOTATOR_TUI_BIN="$source_binary" bash "$plugin_root/scripts/fetch-plannotator-tui.sh" cmp "$source_binary" "$plugin_root/bin/plannotator-tui.exe" -test "$(cat "$plugin_root/bin/plannotator-tui.version")" = 0.7.0 +test "$(cat "$plugin_root/bin/plannotator-tui.version")" = 0.8.0 test ! -e "$plugin_root/bin/plannotator-tui" -test "$("$plugin_root/bin/plannotator-tui.exe" --version)" = "plannotator-tui 0.7.0" -test "$(bash "$plugin_root/scripts/plannotator-tui.sh" --version)" = "plannotator-tui 0.7.0" +test "$("$plugin_root/bin/plannotator-tui.exe" --version)" = "plannotator-tui 0.8.0" +test "$(bash "$plugin_root/scripts/plannotator-tui.sh" --version)" = "plannotator-tui 0.8.0" output="$(bash "$plugin_root/scripts/fetch-plannotator-tui.sh")" case "$output" in diff --git a/scripts/test-windows-full-manifest.py b/scripts/test-windows-full-manifest.py index cfe2a13..833bbff 100644 --- a/scripts/test-windows-full-manifest.py +++ b/scripts/test-windows-full-manifest.py @@ -93,8 +93,8 @@ def check_top_level_windows(path: Path, manifest: dict[str, object]) -> None: def check_distributed(path: Path, version_path: Path) -> None: manifest = load(path) check_top_level_windows(path, manifest) - if version_path.read_text(encoding="utf-8").strip() != "0.7.0": - fail(version_path, "plannotator-tui.version is not 0.7.0") + if version_path.read_text(encoding="utf-8").strip() != "0.8.0": + fail(version_path, "plannotator-tui.version is not 0.8.0") build_entries = builds(path, manifest) if len(build_entries) != 1: