Skip to content

Commit c2dd2c2

Browse files
committed
grab version from CARGO_PKG_VERSION
1 parent f36c41d commit c2dd2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub use hid::*;
2020
fn cli() -> Command {
2121
return Command::new("sinowealth-kb-tool")
2222
.about("A programming tool for Sinowealth Gaming KB devices")
23-
.version("0.0.1")
23+
.version(env!("CARGO_PKG_VERSION"))
2424
.subcommand_required(true)
2525
.arg_required_else_help(true)
2626
.author("Karolis Stasaitis")

0 commit comments

Comments
 (0)