chore: add 'v*' match pattern to restrict git describe only compare against a actual release

r0.3
Meng Zhang 2023-10-09 11:13:37 -07:00
parent 0f8ee7f589
commit 3eb5f4132c
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ fn main() -> Result<(), Box<dyn Error>> {
EmitBuilder::builder() EmitBuilder::builder()
.all_build() .all_build()
.all_git() .all_git()
.git_describe(true, true, None) .git_describe(true, true, Some("v*"))
.emit()?; .emit()?;
Ok(()) Ok(())
} }