From 3d093a3a45c9c4a26196747be4afd40dd9b99e07 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Thu, 14 Sep 2023 15:22:38 -0700 Subject: [PATCH] show version in cli --- package.json | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/src/cli.rs | 1 + src-tauri/tauri.conf.json | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a44d7a8..41fdfcd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "creddy", - "version": "0.3.2", + "version": "0.3.3", "scripts": { "dev": "vite", "build": "vite build", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f9c4b47..2779185 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "creddy" -version = "0.3.2" +version = "0.3.3" description = "A friendly AWS credentials manager" authors = ["Joseph Montanaro"] license = "" diff --git a/src-tauri/src/cli.rs b/src-tauri/src/cli.rs index 9dec340..ea91820 100644 --- a/src-tauri/src/cli.rs +++ b/src-tauri/src/cli.rs @@ -23,6 +23,7 @@ use crate::errors::*; pub fn parser() -> Command<'static> { Command::new("creddy") + .version(env!("CARGO_PKG_VERSION")) .about("A friendly AWS credentials manager") .subcommand( Command::new("run") diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6bb2ca5..6fcdc2a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "creddy", - "version": "0.3.2" + "version": "0.3.3" }, "tauri": { "allowlist": {