mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
The release.yml workflow builds binaries and updates Homebrew but never published to crates.io — v0.4.0 and v0.4.1 are missing from the registry even though the local Cargo.toml and the v0.4.1 tag are at 0.4.1. This adds a separate workflow that: - auto-publishes on every v* tag push (future releases self-publish) - can be manually dispatched with a tag input (catch up on v0.4.1) - is idempotent: skips a crate if its current crates.io version already matches local, so a partial failure is safe to retry - gates on CARGO_REGISTRY_TOKEN (already in repo secrets); skips cleanly if the token is ever rotated out Publishes in dependency order: omnigraph-compiler → omnigraph-engine → omnigraph-server → omnigraph-cli. Path-only deps in Cargo.toml carry explicit version fields, so cargo publish strips paths and resolves against crates.io. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| workflows | ||