glide icon indicating copy to clipboard operation
glide copied to clipboard

version: master in glide.yaml download latest release instead

Open mcarmonaa opened this issue 6 years ago • 2 comments

When you set master as a version for a package in glide.yaml and run glide up, the version downloaded that you can see in the glide.lock references the commit of the latest release, instead of the last commit in master.

It happens when the commits in master are newer than the latest-release commit. If you fix the commit you want in glide.yaml you get these errors:

[ERROR]	Failed to set version on gopkg.in/src-d/enry.v1 to b2b40bbfc59fa9ab248d8662edca78839195a7a6: Unable to update checked out version
[ERROR]	Failed to set initial config references: Unable to update checked out version

mcarmonaa avatar Jul 13 '17 11:07 mcarmonaa

why isnt this resolved? i tried to specify a commit hash in version, same deal

u007 avatar Feb 28 '18 11:02 u007

bump

Vedaad-Shakib avatar Jul 03 '18 18:07 Vedaad-Shakib