mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
Release 0.9.0
This commit is contained in:
parent
ecf0050a92
commit
a18bf7a7bf
@ -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;
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user