feat: bake git tag, hash, and build date into binary #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/build-version-metadata"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a build.rs that captures the git tag (git describe --tags --always --dirty), the 12-char short commit hash, and the build timestamp at compile time, exposes them as compile-time env vars, and surfaces them through GET /api/version, GET /health, and the startup tracing banner.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Signed-off-by: nrupard natrsmith11@gmail.com