summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-04-26 18:36:19 +0100
committerEllie Huxtable <e@elm.sh>2021-04-26 18:36:19 +0100
commit4df77c5201c5245cb08bab636787be6da782009f (patch)
tree0bca512acf5d1e87507c3c89a45066747d8ccea4 /src
parent9356736ca16c0b575a9408ad23c532e17b8ffccb (diff)
Release v0.6.4v0.6.4
- Fix version - Only build for two targets
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 184c0323..090c832c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,10 +11,12 @@ use command::AtuinCmd;
mod command;
+const VERSION: &str = env!("CARGO_PKG_VERSION");
+
#[derive(StructOpt)]
#[structopt(
author = "Ellie Huxtable <e@elm.sh>",
- version = "0.5.0",
+ version = VERSION,
about = "Magical shell history",
global_settings(&[AppSettings::ColoredHelp, AppSettings::DeriveDisplayOrder])
)]