Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

ensure codex bundle zip is created in dist/ (#9934)

iceweasel-oai6a02fdde76e3
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"