From 3428c5c35c99647ce39d20ddaea998bc214b939d Mon Sep 17 00:00:00 2001 From: "andy.boot" Date: Fri, 5 Jul 2024 21:17:45 +0100 Subject: [PATCH 1/2] version: increment version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2ec8c62e..0eda569b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "du-dust" description = "A more intuitive version of du" -version = "1.0.0" +version = "1.1.0" authors = ["bootandy ", "nebkor "] edition = "2021" readme = "README.md" From 574ad2271173975a906944bb404de284597e561e Mon Sep 17 00:00:00 2001 From: "andy.boot" Date: Tue, 16 Jul 2024 22:34:02 +0100 Subject: [PATCH 2/2] version: update version Also update docs, so I don't partially update a version number again --- Cargo.lock | 2 +- ci/how2publish.txt | 8 +++++--- man-page/dust.1 | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d95d1b63..b4257137 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -303,7 +303,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "du-dust" -version = "1.0.0" +version = "1.1.0" dependencies = [ "ansi_term", "assert_cmd", diff --git a/ci/how2publish.txt b/ci/how2publish.txt index 57addb27..0560f54b 100644 --- a/ci/how2publish.txt +++ b/ci/how2publish.txt @@ -1,14 +1,16 @@ # ----------- To do a release --------- # Compare times of runs to check no drastic slow down: -# time target/release/dust ~/dev -# time dust ~dev +# hyperfine 'target/release/dust /home/andy' +# hyperfine 'dust /home/andy' # edit version in cargo.toml +# cargo build --release +# commit changed files # tag a commit and push (increment version in Cargo.toml first): # git tag v0.4.5 # git push origin v0.4.5 # cargo publish to put it in crates.io - + # To install locally [Do before pushing it] #cargo install --path . diff --git a/man-page/dust.1 b/man-page/dust.1 index bea0029b..a468ce41 100644 --- a/man-page/dust.1 +++ b/man-page/dust.1 @@ -1,6 +1,6 @@ .ie \n(.g .ds Aq \(aq .el .ds Aq ' -.TH Dust 1 "Dust 1.0.0" +.TH Dust 1 "Dust 1.1.0" .SH NAME Dust \- Like du but more intuitive .SH SYNOPSIS @@ -124,4 +124,4 @@ Print version [\fIPATH\fR] .SH VERSION -v1.0.0 +v1.1.0