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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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