| build(release): default to CLI-only, source version from Cargo.toml
- Read VERSION from [workspace.package].version in Cargo.toml so the
package filename always matches the binary's --version. Git tags can
drift (Cargo bumped before tag pushed). ATOMCODE_VERSION env override
preserved for CI / one-off rebuilds.
- Default cargo build to -p atomcode; daemon is internal/CI-facing per
sign-macos.sh and was bloating release artifacts. Opt back in with
ATOMCODE_INCLUDE_DAEMON=1.
- Add aarch64-unknown-linux-musl linker config so the linux-arm64
cross-build can link (was failing with Apple ld rejecting GNU options).
- Correct the aarch64 musl-cross install hint: the formula's option is
--without-aarch64 (aarch64 ships by default); passing --with-aarch64
gets fuzzy-matched to --without-aarch64 and silently disables it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| 1 个月前 |