From 5122fe647fdc11e7773faab07679dea2e93edafb Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 29 Apr 2025 20:12:23 -0700 Subject: [PATCH] chore: fix errors in .github/workflows/rust-release.yml and prep 0.0.2504292006 release (#745) Apparently I made two key mistakes in https://github.com/openai/codex/pull/740 (fixed in this PR): * I forgot to redefine `$dest` in the `Stage Linux-only artifacts` step * I did not define the `if` check correctly in the `Stage Linux-only artifacts` step This fixes both of those issues and bumps the workspace version to `0.0.2504292006` in preparation for another release attempt. --- .github/workflows/rust-release.yml | 3 ++- codex-rs/Cargo.lock | 6 +++--- codex-rs/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index a10f246e..ba51a42b 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -106,10 +106,11 @@ jobs: cp target/${{ matrix.target }}/release/codex-exec "$dest/codex-exec-${{ 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' }} + - if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-gnu' }} name: Stage Linux-only artifacts shell: bash run: | + dest="dist/${{ matrix.target }}" cp target/${{ matrix.target }}/release/codex-linux-sandbox "$dest/codex-linux-sandbox-${{ matrix.target }}" - name: Compress artifacts diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index 4d364cdd..b92e925d 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -469,7 +469,7 @@ dependencies = [ [[package]] name = "codex-cli" -version = "0.0.2504291954" +version = "0.0.2504292006" dependencies = [ "anyhow", "clap", @@ -524,7 +524,7 @@ dependencies = [ [[package]] name = "codex-exec" -version = "0.0.2504291954" +version = "0.0.2504292006" dependencies = [ "anyhow", "chrono", @@ -559,7 +559,7 @@ dependencies = [ [[package]] name = "codex-repl" -version = "0.0.2504291954" +version = "0.0.2504292006" dependencies = [ "anyhow", "clap", diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index f53eb675..8087aa3a 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.0.2504291954" +version = "0.0.2504292006" [profile.release] lto = "fat"