Add Git commit hash to version string

Fixes #1348
This commit is contained in:
Henrik Friedrichsen
2023-12-16 18:29:56 +01:00
parent 87f05e430d
commit ea36d2d42a
3 changed files with 21 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ pub fn program_arguments() -> clap::Command {
};
clap::Command::new("ncspot")
.version(env!("CARGO_PKG_VERSION"))
.version(env!("VERSION"))
.author(AUTHOR)
.about("cross-platform ncurses Spotify client")
.after_help(backends)