mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
always emit long format tags
This commit is contained in:
parent
d048372d46
commit
96e64b6388
1 changed files with 2 additions and 2 deletions
|
|
@ -10,13 +10,13 @@ use chrono::Local;
|
|||
pub(crate) fn generate_version(add_timestamp: bool) {
|
||||
let output = if cfg!(target_os = "windows") {
|
||||
Command::new("cmd")
|
||||
.args(["/C", "git describe --tags"])
|
||||
.args(["/C", "git describe --tags --long"])
|
||||
.output()
|
||||
.expect("failed to execute process")
|
||||
} else {
|
||||
Command::new("sh")
|
||||
.arg("-c")
|
||||
.arg("git describe --tags")
|
||||
.arg("git describe --tags --long")
|
||||
.output()
|
||||
.expect("failed to execute process")
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue