Revert "build: Don't check parent directories for git tag"

This reverts commit 21620f3c65.

This breaks running `zig build` from subdirectories.
This commit is contained in:
Andrew Kelley 2025-03-08 11:15:44 -08:00
parent 21620f3c65
commit 7e0c25eccd

View file

@ -259,8 +259,6 @@ pub fn build(b: *std.Build) !void {
"git",
"-C",
b.build_root.path orelse ".",
"--git-dir",
".git",
"describe",
"--match",
"*.*.*",