From da0008e20e529da47ab966ec93b9ebb8aeb261ae Mon Sep 17 00:00:00 2001 From: Vernon Stinebaker Date: Mon, 28 Sep 2026 22:27:28 +0800 Subject: [PATCH] fix(build): default build version to dev instead of a stale date MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The static default (2026.3.3) had drifted four releases behind by the time anyone built from source (#31). Release builds are unaffected: the release flow injects -Dversion from the tag, exactly as before. Dev builds now self-report as vdev — matching NullHub's convention — so a stale date can never masquerade as a version again. Fixes #31 --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index b870ca3..c3a5836 100644 --- a/build.zig +++ b/build.zig @@ -3,7 +3,7 @@ const std = @import("std"); pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const app_version = b.option([]const u8, "version", "Version string embedded in the binary") orelse "2026.3.3"; + const app_version = b.option([]const u8, "version", "Version string embedded in the binary") orelse "dev"; var build_options = b.addOptions(); build_options.addOption([]const u8, "version", app_version);