-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running crystal deps after modifying shards.yml does not update the installed version #107
Comments
Does the That being said, Shards should detect that the pointed commits are different, and thus reinstall the dependency accordingly, or just always install the dependencies. Note that to update a dependency, you should update |
Commit Thanks for the explanation on the difference between install/update, that helps a lot. The main issue, however, is that shards indicated that the version in use was 0.7.1 after running |
The commit states version 0.5.0 in its |
Fixed in 54b8003 |
On a fresh project, I create a
shard.yml
with the following dependencies:Running
crystal deps
installs the correct version, and creates ashard.lock
with the expected contents:Now, if I want to update to a specific version, let's say
version: 0.7.1
, and I modify both theshard.yml
and theshard.lock
accordignly, when I runcrystal deps again
I get a message stating that I'm using version 0.7.1, but the actual contents in thelibs
folder is still behind in commitcafe474
.I'm not sure if this is the expected way of updating dependencies. However, the output message is definitely quite confusing, as it led me to think that I was actually using version 0.7.1, which did not get installed until I deleted the dependencies folders and installed them again.
The text was updated successfully, but these errors were encountered: