Release 0.8.0

This commit is contained in:
Andrew Kelley
2021-06-04 11:21:32 -07:00
parent 2699232c4e
commit a642552faf
2 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -194,6 +194,7 @@
<a href="https://ziglang.org/documentation/0.5.0/">0.5.0</a> |
<a href="https://ziglang.org/documentation/0.6.0/">0.6.0</a> |
<a href="https://ziglang.org/documentation/0.7.0/">0.7.0</a> |
<a href="https://ziglang.org/documentation/0.8.0/">0.8.0</a> |
master
<h1>Contents</h1>
{#nav#}