-
Notifications
You must be signed in to change notification settings - Fork 51
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
Update hermit
cli version from Renovate bot
#345
Comments
@alecthomas actually, I tried to lock the hermit version downloaded in export HERMIT_DIST_URL="${HERMIT_DIST_URL:-https://github.com/cashapp/hermit/releases/download/v0.31.2}" But this produces an error:
Is this a supported use case? Is there something else that can be modified to allow this? |
Bit of an odd error, but no it is not supported. Hermit itself can currently only be updated from a channel. |
Thanks for confirming. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow up from #342
The current Renovate plugin supports updating versions of the binaries, but not the version of the hermit binary itself.
This is usually specified in the
bin/hermit
file, and it defaults to using thestable
channel:This means projects using Hermit can and will be broken if a bad version of Hermit gets released to Stable channel.
One solution would be to set a custom env var
HERMIT_DIST_URL
likehttps://github.com/cashapp/hermit/releases/download/v0.31.1
. But that has two problems:hermit.hcl
env
property.I suggest that if a repo locks the default installation URL in
bin/hermit
to specific versions, that Renovate bot updates it during regular updates. This means:stable
channel if they want, and the bot won't change it if so.The text was updated successfully, but these errors were encountered: