nervosnetwork / ckb

The Nervos CKB is a public permissionless blockchain, and the layer 1 of Nervos network.
https://www.nervos.org
MIT License
1.15k stars 228 forks source link

In releases, `ckb-cli --version` doesn't contain the git commit ID. #4550

Open yangby-cryptape opened 1 month ago

yangby-cryptape commented 1 month ago

Bug Report

In released packages, the binary of ckb-cli doesn't contain the git commit ID in outputs of the sub-command --version. But ckb --version does.

Current Behavior

Input:

./ckb  --version
./ckb-cli --version

Output:

ckb 0.117.0-rc5 (b853641 2024-07-22)
ckb-cli 1.9.0 ( )

Expected Behavior

I think the behavior of both ckb and ckb-cli should be the same.

Environment

I tested:

Additional context/Screenshots

The issue is due to the ckb-cli releases. The released ckb-cli doesn't contain git commit ID in its outputs of sub-command --version.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.