From 4df77c5201c5245cb08bab636787be6da782009f Mon Sep 17 00:00:00 2001 From: Ellie Huxtable <e@elm.sh> Date: Mon, 26 Apr 2021 18:36:19 +0100 Subject: [PATCH] Release v0.6.4 - Fix version - Only build for two targets --- .github/workflows/release.yaml | 3 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 4 +++- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0751991..5886806 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,9 +18,6 @@ jobs: fail-fast: false matrix: job: - - { os: ubuntu-18.04 , target: arm-unknown-linux-gnueabihf , use-cross: true } - - { os: ubuntu-18.04 , target: aarch64-unknown-linux-gnu , use-cross: true } - - { os: ubuntu-18.04 , target: i686-unknown-linux-gnu , use-cross: true } - { os: ubuntu-18.04 , target: x86_64-unknown-linux-gnu } - { os: macos-10.15 , target: x86_64-apple-darwin } steps: diff --git a/Cargo.lock b/Cargo.lock index 0b6e892..7a47f43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,7 +82,7 @@ dependencies = [ [[package]] name = "atuin" -version = "0.6.3" +version = "0.6.4" dependencies = [ "async-trait", "atuin-client", diff --git a/Cargo.toml b/Cargo.toml index da76eb8..81d10d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "atuin" -version = "0.6.3" +version = "0.6.4" authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"] edition = "2018" license = "MIT" diff --git a/src/main.rs b/src/main.rs index 184c032..090c832 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]) )]