For now, keep things simple such that we never update the `version` in the `Cargo.toml` for the workspace root on the `main` branch. Instead, create a new branch for a release, push one commit that updates the `version`, and then tag that branch to kick off a release. To test, I ran this script and created this release job: https://github.com/openai/codex/actions/runs/14762580641
21 lines
366 B
TOML
21 lines
366 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"ansi-escape",
|
|
"apply-patch",
|
|
"cli",
|
|
"core",
|
|
"exec",
|
|
"execpolicy",
|
|
"tui",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.0.0"
|
|
|
|
[profile.release]
|
|
lto = "fat"
|
|
# Because we bundle some of these executables with the TypeScript CLI, we
|
|
# remove everything to make the binary as small as possible.
|
|
strip = "symbols"
|