| ... | ... | @@ -222,7 +222,7 @@ pub fn build(b: *Builder) !void { |
| 222 | 222 | |
| 223 | 223 | switch (mem.count(u8, git_describe, "-")) { |
| 224 | 224 | 0 => { |
| 225 | | // Tagged release version (e.g. 0.8.0). |
| 225 | // Tagged release version (e.g. 0.9.0). |
| 226 | 226 | if (!mem.eql(u8, git_describe, version_string)) { |
| 227 | 227 | std.debug.print("Zig version '{s}' does not match Git tag '{s}'\n", .{ version_string, git_describe }); |
| 228 | 228 | std.process.exit(1); |
| ... | ... | @@ -230,7 +230,7 @@ pub fn build(b: *Builder) !void { |
| 230 | 230 | break :v version_string; |
| 231 | 231 | }, |
| 232 | 232 | 2 => { |
| 233 | | // Untagged development build (e.g. 0.8.0-684-gbbe2cca1a). |
| 233 | // Untagged development build (e.g. 0.9.0-dev.2025+ecf0050a9). |
| 234 | 234 | var it = mem.split(u8, git_describe, "-"); |
| 235 | 235 | const tagged_ancestor = it.next() orelse unreachable; |
| 236 | 236 | const commit_height = it.next() orelse unreachable; |