chore(ci): bring git hash and git branch on build

This commit is contained in:
Edouard Vanbelle
2026-06-02 09:44:50 +02:00
parent a05e99175f
commit ce25bfa209
2 changed files with 68 additions and 1 deletions
+6 -1
View File
@@ -133,7 +133,12 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
oxicloud::interfaces::middleware::trusted_proxy::log_config();
tracing::info!("OxiCloud v{}", env!("CARGO_PKG_VERSION"));
tracing::info!(
"OxiCloud v{} | branch={} commit={}",
env!("CARGO_PKG_VERSION"),
env!("GIT_BRANCH"),
env!("GIT_HASH")
);
// Load configuration from environment variables
let config = common::config::AppConfig::from_env();