From 8e08f655a8a0bbf7a2e60a25bdbee92b1f71110b Mon Sep 17 00:00:00 2001 From: Iku Iwasa Date: Fri, 11 Oct 2024 23:47:00 +0900 Subject: [PATCH 1/3] fix: Do not sort prune candidates in fzf --- src/db.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db.rs b/src/db.rs index 832a2a7..4117c7b 100644 --- a/src/db.rs +++ b/src/db.rs @@ -127,6 +127,7 @@ impl Db { .arg("--header=rireq prune") .arg("--read0") .arg("--multi") + .arg("+s") .stdin(Stdio::piped()) .stdout(Stdio::piped()) .spawn()?; From bb92a8bf778961e099e33b5e6288c2794231fd00 Mon Sep 17 00:00:00 2001 From: Iku Iwasa Date: Fri, 11 Oct 2024 23:47:52 +0900 Subject: [PATCH 2/3] release: pass filename only to sha256sum --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c606e17..9348d26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: - name: Package run: | exe=rireq - package="../release/rireq-${VERSION}-${TARGET}.tar.gz" + package="rireq-${VERSION}-${TARGET}.tar.gz" if [ "${OS}" = windows-latest ]; then exe=rireq.exe fi @@ -54,7 +54,8 @@ jobs: mv "target/${TARGET}/release/${exe}" dist/ cp LICENSE dist/ cd dist - tar caf "${package}" "${exe}" LICENSE + tar caf "../release/${package}" "${exe}" LICENSE + cd ../release sha256sum "${package}" > "${package}.sha256" env: OS: ${{ matrix.os }} From f0c3f1244ceaf4aeb6b9e5c7e54c9b77e96734e5 Mon Sep 17 00:00:00 2001 From: Iku Iwasa Date: Fri, 11 Oct 2024 23:48:51 +0900 Subject: [PATCH 3/3] build: Update crate dependencies --- Cargo.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index de92252..1ae0520 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -52,9 +52,9 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" dependencies = [ "unicode-ident", ] @@ -70,9 +70,9 @@ dependencies = [ [[package]] name = "redb" -version = "2.1.3" +version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4760ad04a88ef77075ba86ba9ea79b919e6bab29c1764c5747237cd6eaedcaa" +checksum = "074373f3e7e5d27d8741d19512232adb47be8622d3daef3a45bcae72050c3d2a" dependencies = [ "libc", ]