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

Commit

Permalink
Update version on git head change (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkpar authored Jul 28, 2018
1 parent f67968d commit ff36d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ const ERROR_MSG: &'static str = "Failed to generate metadata files";

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

0 comments on commit ff36d2e

Please sign in to comment.