-
Notifications
You must be signed in to change notification settings - Fork 1
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
Self-Update #9
Comments
I'd love to upgrade the CLI using Homebrew! (I tried writing a Homebrew Formula, but failed to get the |
@derhuerst could the Homebrew formula pull down the install script at https://licensezero.com/install.sh? That script in turn downloads binaries from GitHub releases. |
Maybe, but it doesn't sound like it:
The only benefit (that I see) of using the hosted |
Ah. So I opened this issue to remind myself to think about self-update. But the CLI doesn't do any self-update right now. The script I linked to automatically finds and downloads the latest GitHub release binary for the platform and system. But you could probably pull out the binaries just for Mac/x86-64 and package however Homebrew typically packages standalone binaries. |
Yeah, I'm not sure if this is appreciated (or even allowed). AFAIK, but I might be wrong, the preferred setup is to write a fomula that builds from source, let the Brew Test Bot build binaries (bottles) and add their hashes to the fomula. |
The By leveraging existing update channels, you could support all of these with a lot less effort, but on the other handy, probably not everyone has |
Just stumbled upon this: https://blog.extrawurst.org/general/2020/04/14/homebrew-github-actions.html |
I'm currently building this repo with Travis, not for any particular reason, except Travis existed when I started the project. If you'd like to send a PR over building with Actions instead, and implementing whatever it is that you need to do for Homebrew, that would be very welcome! |
https://licensezero.com/cli-version
https://licensezero.com/install.sh
The text was updated successfully, but these errors were encountered: