Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit ff36d2e

Browse files
authored
Update version on git head change (#444)
1 parent f67968d commit ff36d2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ const ERROR_MSG: &'static str = "Failed to generate metadata files";
2222

2323
fn main() {
2424
vergen(OutputFns::all()).expect(ERROR_MSG);
25+
println!("cargo:rerun-if-changed=.git/HEAD");
2526
}

0 commit comments

Comments
 (0)