Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Dec 20, 2021
1 parent ecf0050 commit a18bf7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ 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);
}
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;
Expand Down
1 change: 1 addition & 0 deletions doc/langref.html.in
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit a18bf7a

Please sign in to comment.