mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 14:00:11 -05:00
## Summary Before: ```console $ cargo run -- --version uv 0.5.7 (b17902da02024-12-09) ``` After: ```console $ cargo run -- --version uv 0.5.7+14 (7cd0ab77a2024-12-09) ``` Currently `cargo run -- --version` does not includes the number of commits since last tag, because `cargo-dist` create non-annotated tag, and `git log -1 --date=short --abbrev=9 --format='%H %h %cd %(describe)'` use only annoated tags by default. ```console $ git log -1 --date=short --abbrev=9 --format='%H %h %cd %(describe)'7cd0ab77a97cd0ab77a2024-12-09 ``` To include these tags, use `git log -1 --date=short --abbrev=9 --format='%H %h %cd %(describe:tags)'`, which will display: ```console $ git log -1 --date=short --abbrev=9 --format='%H %h %cd %(describe:tags)'7cd0ab77a97cd0ab77a2024-12-09 0.5.7-14-g7cd0ab77a ```