From 6a02fdde76e3d3d4eebaa5c008802a5c61e1c2f2 Mon Sep 17 00:00:00 2001 From: iceweasel-oai Date: Mon, 26 Jan 2026 13:39:00 -0800 Subject: [PATCH] ensure codex bundle zip is created in dist/ (#9934) cd-ing into the tmp bundle directory was putting the .zip in the wrong place --- .github/workflows/rust-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 3625c830dd..35b91e25d5 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -303,7 +303,9 @@ jobs: cp "$dest/$base" "$bundle_dir/$base" cp "$runner_src" "$bundle_dir/codex-command-runner.exe" cp "$setup_src" "$bundle_dir/codex-windows-sandbox-setup.exe" - (cd "$bundle_dir" && 7z a "$dest/${base}.zip" .) + # Use an absolute path so bundle zips land in the real dist + # dir even when 7z runs from a temp directory. + (cd "$bundle_dir" && 7z a "$(pwd)/$dest/${base}.zip" .) else echo "warning: missing sandbox binaries; falling back to single-binary zip" echo "warning: expected $runner_src and $setup_src"