Releases contain un-updated `Cargo.lock` file
Closed this issue · 2 comments
AngerM commented
Describe the bug
The updated releases contain an un-updated Cargo.lock
file. This means when you do the sh install.sh
or cargo build -r
the Cargo.lock
file is modified, which prevents future git pull
's from succeeding with an error like:
Your local changes to the following files would be overwritten by checkout:
Cargo.lock
To Reproduce
Steps to reproduce the behavior:
- Install sniprun using your favorite package manager (ex: Lazy.nvim)
- Wait for the next update to be released
- Package manager will fail to update since
git pull
fails
Expected behavior
The Cargo.lock
file should be up to date, so cargo build -r
does not modify it
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
- Neovim version v0.9.2
- MacOS Sonoma
Additional context
The sniprun folder after installing the latest 1.3.7 update and doing the install:
$ git diff
diff --git a/Cargo.lock b/Cargo.lock
index 3503afe..c5ba1de 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -812,7 +812,7 @@ checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a"
[[package]]
name = "sniprun"
-version = "1.3.7-beta"
+version = "1.3.7"
dependencies = [
"close_fds",
"dirs",
AngerM commented
Accidentally got double submitted