diff --git a/build.rs b/build.rs index e1ef19a5d..126a4a036 100644 --- a/build.rs +++ b/build.rs @@ -283,7 +283,6 @@ fn get_version(src_dir: &Path) -> String { return version + "-g" + &rev; } } - // TODO: Do we just use the cargo version here? - "unknown".to_string() + panic!("Could not get a version. Either set $FISH_BUILD_VERSION or install git."); }