mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
parent
a62eb1b17b
commit
b8e12811bf
@ -8,6 +8,8 @@ use std::{
|
||||
|
||||
fn main() {
|
||||
// Get the current githash
|
||||
// Note: It will compare commits. As long as the commits do not diverge from the
|
||||
// server no version change will be detected.
|
||||
match Command::new("git")
|
||||
.args(&[
|
||||
"log",
|
||||
@ -15,6 +17,7 @@ fn main() {
|
||||
"1",
|
||||
"--pretty=format:%h/%cd",
|
||||
"--date=format:%Y-%m-%d-%H:%M",
|
||||
"--abbrev=8",
|
||||
])
|
||||
.output()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user