Release 0.10.0

This commit is contained in:
Andrew Kelley
2022-10-31 10:24:38 -07:00
parent 049e6025f2
commit 0c1701768d
2 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -317,6 +317,7 @@
<a href="https://ziglang.org/documentation/0.7.1/">0.7.1</a> | <a href="https://ziglang.org/documentation/0.7.1/">0.7.1</a> |
<a href="https://ziglang.org/documentation/0.8.1/">0.8.1</a> | <a href="https://ziglang.org/documentation/0.8.1/">0.8.1</a> |
<a href="https://ziglang.org/documentation/0.9.1/">0.9.1</a> | <a href="https://ziglang.org/documentation/0.9.1/">0.9.1</a> |
<a href="https://ziglang.org/documentation/0.10.0/">0.10.0</a> |
master master
</nav> </nav>
<nav aria-labelledby="table-of-contents"> <nav aria-labelledby="table-of-contents">