ratatui-org / crates-tui

A TUI for exploring crates.io using Ratatui
MIT License
59 stars 4 forks source link

Version flag emits idempotent output #23

Closed orhun closed 4 months ago

orhun commented 5 months ago

For crates-tui -V I get the following output:

crates-tui 0.1.5-VERGEN_IDEMPOTENT_OUTPUT (2024-02-10)

This is probably due to missing commits (.git folder) during build process.

Any idea how to make the output better? I'm interested in submitting a PR.

joshka commented 5 months ago

Check the build.rs, and update it as necessary.

kdheepak commented 5 months ago

Hmm. Maybe we should not set the git describe content if it is not a hash? The content is generated by vergen but is used in cli.rs.