Release 0.9.0

This commit is contained in:
Andrew Kelley 2021-12-20 13:13:19 -07:00
parent ecf0050a92
commit a18bf7a7bf
2 changed files with 3 additions and 2 deletions

View File

@ -222,7 +222,7 @@ pub fn build(b: *Builder) !void {
switch (mem.count(u8, git_describe, "-")) {
0 => {
// Tagged release version (e.g. 0.8.0).
// Tagged release version (e.g. 0.9.0).
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.process.exit(1);
@ -230,7 +230,7 @@ pub fn build(b: *Builder) !void {
break :v version_string;
},
2 => {
// Untagged development build (e.g. 0.8.0-684-gbbe2cca1a).
// Untagged development build (e.g. 0.9.0-dev.2025+ecf0050a9).
var it = mem.split(u8, git_describe, "-");
const tagged_ancestor = it.next() orelse unreachable;
const commit_height = it.next() orelse unreachable;

View File

@ -316,6 +316,7 @@
<a href="https://ziglang.org/documentation/0.6.0/">0.6.0</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.9.0/">0.9.0</a> |
master
</nav>
<nav aria-labelledby="table-of-contents">