diff --git a/Cargo.toml b/Cargo.toml index 79d9a1d..9713f66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xplr" -version = "0.3.1" # Update app.rs +version = "0.3.1" # Update app.rs and default.nix authors = ["Arijit Basu "] edition = "2018" description = "A hackable, minimal, fast TUI file explorer, stealing ideas from nnn and fzf" diff --git a/default.nix b/default.nix index d737c5d..8895b52 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,7 @@ with import { }; +# Update the src url, version and sha256 when new version + rustPlatform.buildRustPackage rec { name = "xplr"; version = "0.3.1"; diff --git a/src/app.rs b/src/app.rs index 242bc40..6f46bd6 100644 --- a/src/app.rs +++ b/src/app.rs @@ -12,7 +12,7 @@ use std::fs; use std::io; use std::path::PathBuf; -pub const VERSION: &str = "v0.3.1"; // Update Cargo.toml +pub const VERSION: &str = "v0.3.1"; // Update Cargo.toml and default.nix pub const TEMPLATE_TABLE_ROW: &str = "TEMPLATE_TABLE_ROW";