core-agent-ide/codex-cli/scripts
Michael Bolin 0b9cb2b9e7
chore: create a release script for the Rust CLI (#1479)
This is a stopgap solution before migrating the build for the npm
release to GitHub Actions (which is ultimately what should be done to
ensure hermetic builds).

The idea is that instead of continuing to create PRs like
https://github.com/openai/codex/pull/1472 where I have to check in a
change to the `WORKFLOW_URL`, this script uses `gh run list` to get the
`WORKFLOW_URL` dynamically and then threads the value through to
`install_native_deps.sh`.

To create the 0.3.0 release on npm, I ran:

```shell
./codex-cli/scripts/stage_rust_release.py --release-version 0.3.0
```

and then did `npm publish --dry-run` followed by `npm publish` in the
temp directory created by `stage_rust_release.py`.
2025-07-07 23:51:34 -07:00
..
build_container.sh fix: update scripts/build_container.sh to use pnpm instead of npm (#631) 2025-04-24 16:38:57 -07:00
init_firewall.sh feat: add common package registries domains to allowed-domains list (#414) 2025-04-29 12:07:00 -07:00
install_native_deps.sh chore: create a release script for the Rust CLI (#1479) 2025-07-07 23:51:34 -07:00
run_in_container.sh feat: add common package registries domains to allowed-domains list (#414) 2025-04-29 12:07:00 -07:00
stage_release.sh chore: create a release script for the Rust CLI (#1479) 2025-07-07 23:51:34 -07:00
stage_rust_release.py chore: create a release script for the Rust CLI (#1479) 2025-07-07 23:51:34 -07:00