From efb0acc152196973bc22ab85c275325c1ec6c77a Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 29 Apr 2025 19:53:29 -0700 Subject: [PATCH] fix: primary output of the codex-cli crate is named codex, not codex-cli (#743) I just got a bunch of failures in the release workflow: https://github.com/openai/codex/actions/runs/14745492805/job/41391926707 along the lines of: ``` cp: cannot stat 'target/aarch64-unknown-linux-gnu/release/codex-cli': No such file or directory ``` --- .github/dotslash-config.json | 10 +++++----- .github/workflows/rust-release.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/dotslash-config.json b/.github/dotslash-config.json index e033652c..7034b2bb 100644 --- a/.github/dotslash-config.json +++ b/.github/dotslash-config.json @@ -18,12 +18,12 @@ } }, - "codex-cli": { + "codex": { "platforms": { - "macos-aarch64": { "regex": "^codex-cli-aarch64-apple-darwin\\.zst$", "path": "codex-cli" }, - "macos-x86_64": { "regex": "^codex-cli-x86_64-apple-darwin\\.zst$", "path": "codex-cli" }, - "linux-x86_64": { "regex": "^codex-cli-x86_64-unknown-linux-musl\\.zst$", "path": "codex-cli" }, - "linux-aarch64": { "regex": "^codex-cli-aarch64-unknown-linux-gnu\\.zst$", "path": "codex-cli" } + "macos-aarch64": { "regex": "^codex-aarch64-apple-darwin\\.zst$", "path": "codex" }, + "macos-x86_64": { "regex": "^codex-x86_64-apple-darwin\\.zst$", "path": "codex" }, + "linux-x86_64": { "regex": "^codex-x86_64-unknown-linux-musl\\.zst$", "path": "codex" }, + "linux-aarch64": { "regex": "^codex-aarch64-unknown-linux-gnu\\.zst$", "path": "codex" } } }, diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 00e2dcb1..a10f246e 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -104,7 +104,7 @@ jobs: cp target/${{ matrix.target }}/release/codex-repl "$dest/codex-repl-${{ matrix.target }}" cp target/${{ matrix.target }}/release/codex-exec "$dest/codex-exec-${{ matrix.target }}" - cp target/${{ matrix.target }}/release/codex-cli "$dest/codex-cli-${{ matrix.target }}" + cp target/${{ matrix.target }}/release/codex "$dest/codex-${{ matrix.target }}" - if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }} || ${{ matrix.target == 'aarch64-unknown-linux-gnu' }} name: Stage Linux-only artifacts