Skip to content

Binary version string mismatch: uteke --version reports 0.3.2 on v0.4.2 release #463

Closed

Description

@ajianaz

Bug Report

Description

The binary in release v0.4.2 (tagged 2026-06-22) reports an incorrect version string.

Expected: uteke 0.4.2
Actual: uteke 0.3.2

Steps to Reproduce

  1. Download the macOS ARM64 binary from v0.4.2 release:
    gh release download v0.4.2 --pattern "uteke-aarch64-apple-darwin-v0.4.2.tar.gz"
    tar xzf uteke-aarch64-apple-darwin-v0.4.2.tar.gz
    ./uteke --version
  2. Output shows uteke 0.3.2 instead of uteke 0.4.2.

Environment

  • Binary: uteke-aarch64-apple-darwin-v0.4.2.tar.gz from release v0.4.2
  • Platform: macOS (Apple Silicon)
  • Verified on: macOS 26.5.1

Additional Context

  • Cargo.toml workspace version is correctly set to 0.4.2:
    [workspace.package]
    version = "0.4.2"
  • The version.workspace = true is used in crates/uteke-cli/Cargo.toml.
  • However, strings on the binary reveals a hardcoded 0.3.2 string embedded in the compiled binary, suggesting the version output might be sourced from a hardcoded value or build script that wasn't updated when tagging v0.4.2.

Suggested Fix

Check how the version string is passed to clap in crates/uteke-cli/src/cli.rs — it likely needs to use env!("CARGO_PKG_VERSION") or the workspace version rather than a hardcoded string.

Activity

  1. added a commit that references this issue on Jun 24, 2026
  2. ajianaz commented on Jun 24, 2026

    @ajianaz
    CollaboratorAuthor

    Fixed in #468. Root cause: Cargo.toml on main was still 0.3.2 despite develop being at 0.4.2 (merge conflict resolved to wrong side). Tag v0.4.2 re-pointed to corrected commit.

  3. added a commit that references this issue on Jun 24, 2026
    aa0f5a1
  4. added 3 commits that reference this issue on Aug 13, 2026
    cfc8d2d
    560f25b
    9216954
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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