From a9309a52c0a4a253cba7f6c4d9d67caaa955d5a2 Mon Sep 17 00:00:00 2001 From: Quentin Guilloteau Date: Tue, 6 Apr 2021 13:09:56 +0200 Subject: [PATCH] add comment to remind to update the version in the default.nix file --- Cargo.toml | 2 +- default.nix | 2 ++ src/app.rs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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";