mirror of https://github.com/wayvr-org/wayvr.git
dirty versions
This commit is contained in:
parent
d9287f3250
commit
8a4c7a400f
2
build.rs
2
build.rs
|
|
@ -14,7 +14,7 @@ fn main() {
|
|||
fn get_version() -> Result<String, Box<dyn std::error::Error>> {
|
||||
let re = Regex::new(r"v([0-9.]+)-([0-9]+)-g([a-f0-9]+)").unwrap(); // safe
|
||||
let output = Command::new("git")
|
||||
.args(["describe", "--tags", "--abbrev=7"])
|
||||
.args(["describe", "--tags", "--abbrev=7", "--dirty"])
|
||||
.output()?;
|
||||
|
||||
let output_str = String::from_utf8(output.stdout)?;
|
||||
|
|
|
|||
Loading…
Reference in New Issue