2022-01-28 03:30:59 +01:00
|
|
|
use anyhow::Result;
|
|
|
|
use vergen::{Config, ShaKind, vergen};
|
|
|
|
|
|
|
|
fn main() -> Result<()> {
|
|
|
|
let mut config = Config::default();
|
|
|
|
*config.git_mut().sha_kind_mut() = ShaKind::Short;
|
2022-08-19 08:16:26 +02:00
|
|
|
*config.git_mut().skip_if_error_mut() = true;
|
2022-01-28 03:30:59 +01:00
|
|
|
vergen(config)
|
|
|
|
}
|