From efb0acc152196973bc22ab85c275325c1ec6c77a Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 29 Apr 2025 19:53:29 -0700 Subject: [PATCH 1/2] 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 e033652ced..7034b2bb02 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 00e2dcb15b..a10f246ee4 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 From b227a2079231beb0567907f988cb74cc44e28cd7 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 29 Apr 2025 19:55:56 -0700 Subject: [PATCH 2/2] chore: set Cargo workspace to version 0.0.2504291954 to create a scratch release --- codex-rs/Cargo.lock | 6 +++--- codex-rs/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index 5ab13970e8..4d364cdd86 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -469,7 +469,7 @@ dependencies = [ [[package]] name = "codex-cli" -version = "0.0.2504291926" +version = "0.0.2504291954" dependencies = [ "anyhow", "clap", @@ -524,7 +524,7 @@ dependencies = [ [[package]] name = "codex-exec" -version = "0.0.2504291926" +version = "0.0.2504291954" dependencies = [ "anyhow", "chrono", @@ -559,7 +559,7 @@ dependencies = [ [[package]] name = "codex-repl" -version = "0.0.2504291926" +version = "0.0.2504291954" dependencies = [ "anyhow", "clap", diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index 99b48f4089..f53eb67501 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.0.2504291926" +version = "0.0.2504291954" [profile.release] lto = "fat"