version: show built time git branch (#6609)

This commit is contained in:
nibon7
2022-09-24 20:10:36 +08:00
committed by GitHub
parent 848550771a
commit 0ab4e5af2a

View File

@ -59,7 +59,7 @@ pub fn version(
cols.push("branch".to_string()); cols.push("branch".to_string());
vals.push(Value::String { vals.push(Value::String {
val: shadow_rs::branch(), val: shadow::BRANCH.to_string(),
span: call.head, span: call.head,
}); });