-
Notifications
You must be signed in to change notification settings - Fork 39
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
Improve binary name detection for --upgrade-only #32
Comments
dufferzafar
pushed a commit
to dufferzafar/eget
that referenced
this issue
May 29, 2022
Fixes zyedidia#32 Change-Id: I57a0af3f073be86f68cace904449ec2c87231545
dufferzafar
added a commit
to dufferzafar/eget
that referenced
this issue
May 29, 2022
dufferzafar
added a commit
to dufferzafar/eget
that referenced
this issue
May 30, 2022
dufferzafar
added a commit
to dufferzafar/eget
that referenced
this issue
Jul 22, 2022
This can be achieved by using
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for
--upgrade-only
. It's a step in the right direction.However it fails to work when the last component of the repo is different from the binary name.
Case in point:
And now that I think about it,
-f
should not be used for this functionality.We could use another switch for it perhaps?
-b
isn't used yet,-a
for asset,-b
for binary?This would help in cases where we rename binaries from the packages, for eg. releases of GDU: https://github.com/dundee/gdu/ usually have binaries with long name like:
gdu_linux_amd64_static
, which I manually rename togdu
viamv gdu* gdu
.So, I guess for eget, something like this should work:
eget --upgrade-only dundee/gdu -a static -b gdu
The text was updated successfully, but these errors were encountered: