Skip to content

Default version string in build.zig is stale (2026.5.26 vs latest v2026.06.09) #3

Description

@DonPrus

build.zig:538:

const app_version = b.option([]const u8, "version", "Version string embedded in the binary") orelse "2026.5.26";

The fallback is only overridden at release time via -Dversion=..., so a plain zig build produces a binary reporting 2026.5.26 while the latest release is v2026.06.09.

Suggested fix: bump the fallback as part of the release process (or derive it from git describe / a VERSION file) so local builds don't report a stale version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions