nervosnetwork / ckb

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

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

Closed yangby-cryptape closed 2 months ago

yangby-cryptape commented 4 months 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 3 months 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.