Skip to content

Commit 5122fe6

Browse files
authored
chore: fix errors in .github/workflows/rust-release.yml and prep 0.0.2504292006 release (#745)
Apparently I made two key mistakes in #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.
1 parent 1a39568 commit 5122fe6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/rust-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ jobs:
106106
cp target/${{ matrix.target }}/release/codex-exec "$dest/codex-exec-${{ matrix.target }}"
107107
cp target/${{ matrix.target }}/release/codex "$dest/codex-${{ matrix.target }}"
108108
109-
- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }} || ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
109+
- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-gnu' }}
110110
name: Stage Linux-only artifacts
111111
shell: bash
112112
run: |
113+
dest="dist/${{ matrix.target }}"
113114
cp target/${{ matrix.target }}/release/codex-linux-sandbox "$dest/codex-linux-sandbox-${{ matrix.target }}"
114115
115116
- name: Compress artifacts

codex-rs/Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codex-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ members = [
1212
]
1313

1414
[workspace.package]
15-
version = "0.0.2504291954"
15+
version = "0.0.2504292006"
1616

1717
[profile.release]
1818
lto = "fat"

0 commit comments

Comments
 (0)