From 3eb5f4132c365b1a932912f294a358d4dab8dd6f Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Mon, 9 Oct 2023 11:13:37 -0700 Subject: [PATCH] chore: add 'v*' match pattern to restrict git describe only compare against a actual release --- crates/tabby/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tabby/build.rs b/crates/tabby/build.rs index 45e59b6..dc138d2 100644 --- a/crates/tabby/build.rs +++ b/crates/tabby/build.rs @@ -7,7 +7,7 @@ fn main() -> Result<(), Box> { EmitBuilder::builder() .all_build() .all_git() - .git_describe(true, true, None) + .git_describe(true, true, Some("v*")) .emit()?; Ok(()) }