authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-04 11:21:32-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-06-04 11:21:32-07:00
loga642552faf6d6cde1e8d0492685793498d689983
tree5bf17311bdf858a1fb8b73413ae222ce9adef0ee
parent2699232c4ec6f2cc583500fbb66db5daf543cd22

Release 0.8.0


2 files changed, 3 insertions(+), 2 deletions(-)

build.zig+2-2
...@@ -168,7 +168,7 @@ pub fn build(b: *Builder) !void {...@@ -168,7 +168,7 @@ pub fn build(b: *Builder) !void {
168168
169 switch (mem.count(u8, git_describe, "-")) {169 switch (mem.count(u8, git_describe, "-")) {
170 0 => {170 0 => {
171 // Tagged release version (e.g. 0.7.0).171 // Tagged release version (e.g. 0.8.0).
172 if (!mem.eql(u8, git_describe, version_string)) {172 if (!mem.eql(u8, git_describe, version_string)) {
173 std.debug.print("Zig version '{s}' does not match Git tag '{s}'\n", .{ version_string, git_describe });173 std.debug.print("Zig version '{s}' does not match Git tag '{s}'\n", .{ version_string, git_describe });
174 std.process.exit(1);174 std.process.exit(1);
...@@ -176,7 +176,7 @@ pub fn build(b: *Builder) !void {...@@ -176,7 +176,7 @@ pub fn build(b: *Builder) !void {
176 break :v version_string;176 break :v version_string;
177 },177 },
178 2 => {178 2 => {
179 // Untagged development build (e.g. 0.7.0-684-gbbe2cca1a).179 // Untagged development build (e.g. 0.8.0-684-gbbe2cca1a).
180 var it = mem.split(git_describe, "-");180 var it = mem.split(git_describe, "-");
181 const tagged_ancestor = it.next() orelse unreachable;181 const tagged_ancestor = it.next() orelse unreachable;
182 const commit_height = it.next() orelse unreachable;182 const commit_height = it.next() orelse unreachable;
doc/langref.html.in+1
...@@ -194,6 +194,7 @@...@@ -194,6 +194,7 @@
194 <a href="https://ziglang.org/documentation/0.5.0/">0.5.0</a> |194 <a href="https://ziglang.org/documentation/0.5.0/">0.5.0</a> |
195 <a href="https://ziglang.org/documentation/0.6.0/">0.6.0</a> |195 <a href="https://ziglang.org/documentation/0.6.0/">0.6.0</a> |
196 <a href="https://ziglang.org/documentation/0.7.0/">0.7.0</a> |196 <a href="https://ziglang.org/documentation/0.7.0/">0.7.0</a> |
197 <a href="https://ziglang.org/documentation/0.8.0/">0.8.0</a> |
197 master198 master
198 <h1>Contents</h1>199 <h1>Contents</h1>
199 {#nav#}200 {#nav#}