//! Decides this build's channel, which `discovery::channel` reports.
//!
//! `RECALL_BUILD_CHANNEL` wins when set: the release workflow sets
//! `release`, the server's Dockerfile sets `dev`. Otherwise the source
//! decides. A git checkout is a development build; a crate unpacked from
//! crates.io, which is what `cargo install recall` compiles, has no `.git`
//! and is exactly the release it was published as.
use Path;