| ... | @@ -215,7 +215,7 @@ pub fn build(b: *Builder) !void { | ... | @@ -215,7 +215,7 @@ pub fn build(b: *Builder) !void { |
| 215 | | 215 | |
| 216 | switch (mem.count(u8, git_describe, "-")) { | 216 | switch (mem.count(u8, git_describe, "-")) { |
| 217 | 0 => { | 217 | 0 => { |
| 218 | // Tagged release version (e.g. 0.9.0). | 218 | // Tagged release version (e.g. 0.10.0). |
| 219 | if (!mem.eql(u8, git_describe, version_string)) { | 219 | if (!mem.eql(u8, git_describe, version_string)) { |
| 220 | std.debug.print("Zig version '{s}' does not match Git tag '{s}'\n", .{ version_string, git_describe }); | 220 | std.debug.print("Zig version '{s}' does not match Git tag '{s}'\n", .{ version_string, git_describe }); |
| 221 | std.process.exit(1); | 221 | std.process.exit(1); |
| ... | @@ -223,7 +223,7 @@ pub fn build(b: *Builder) !void { | ... | @@ -223,7 +223,7 @@ pub fn build(b: *Builder) !void { |
| 223 | break :v version_string; | 223 | break :v version_string; |
| 224 | }, | 224 | }, |
| 225 | 2 => { | 225 | 2 => { |
| 226 | // Untagged development build (e.g. 0.9.0-dev.2025+ecf0050a9). | 226 | // Untagged development build (e.g. 0.10.0-dev.2025+ecf0050a9). |
| 227 | var it = mem.split(u8, git_describe, "-"); | 227 | var it = mem.split(u8, git_describe, "-"); |
| 228 | const tagged_ancestor = it.first(); | 228 | const tagged_ancestor = it.first(); |
| 229 | const commit_height = it.next().?; | 229 | const commit_height = it.next().?; |