arxanas / git-branchless

High-velocity, monorepo-scale workflow for Git
Apache License 2.0
3.47k stars 89 forks source link

--version showing the wrong version #1429

Open vuduchild opened 1 month ago

vuduchild commented 1 month ago

Description of the bug

--version on 0.10.0 shows 0.9.0

$ git-branchless-v0.10.0-x86_64-unknown-linux-musl/git-branchless --version
git-branchless-opts 0.9.0

Expected behavior

The correct version should show.

Actual behavior

The old 0.9.0 version is displayed.

Version of rustc

No response

Automated bug report

No response

Version of git-branchless

git-branchless 0.10.0, though the output is 0.9.0

Version of git

git version 2.47.0

arxanas commented 1 month ago

How did you install this version of git-branchless? My currently-installed version shows the correct version number:

$ git-branchless --version
git-branchless-opts 0.10.0

If you're running the officially-released binary, unfortunately I don't have a Linux/Windows machine to run and check what's going on (and the Mac CI release job is broken 😢).

vuduchild commented 1 month ago

Using the asset from the GitHub release page: https://github.com/arxanas/git-branchless/releases/tag/v0.10.0 https://github.com/arxanas/git-branchless/releases/download/v0.10.0/git-branchless-v0.10.0-x86_64-unknown-linux-musl.tar.gz