mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-18 22:32:28 +01:00
15 lines
442 B
Diff
15 lines
442 B
Diff
Don't include SHA of the HEAD of the aports repository in youki --version.
|
|
|
|
--- a/crates/youki/build.rs
|
|
+++ b/crates/youki/build.rs
|
|
@@ -3,6 +3,8 @@
|
|
|
|
fn main() -> Result<()> {
|
|
let mut config = Config::default();
|
|
- *config.git_mut().sha_kind_mut() = ShaKind::Short;
|
|
+ // XXX-Patched: Disabled git output.
|
|
+ *config.git_mut().enabled_mut() = false;
|
|
+ println!("cargo:rustc-env=VERGEN_GIT_SHA_SHORT=0");
|
|
vergen(config)
|
|
}
|