mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Ignore -dirty flag
This commit is contained in:
parent
a341c94871
commit
9bd1cfb3a3
2 changed files with 2 additions and 9 deletions
|
@ -4,8 +4,6 @@ fn main() {
|
|||
let mut config = Config::default();
|
||||
// allow using non-annotated tags
|
||||
*config.git_mut().semver_kind_mut() = SemverKind::Lightweight;
|
||||
// add -dirty suffix when we're not right on the tag
|
||||
*config.git_mut().semver_dirty_mut() = Some("-dirty");
|
||||
|
||||
if let Err(e) = vergen(config) {
|
||||
println!("cargo:warning=vergen: {}", e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue