catppuccin / toolbox

🧰 Soothing pastel tools for development
MIT License
109 stars 9 forks source link

Automate publishing to Homebrew #221

Closed sgoudham closed 5 months ago

sgoudham commented 5 months ago

I've personally used https://github.com/mislav/bump-homebrew-formula-action before and found it was pretty simple and easy to use for automating updates to an external homebrew-tap repository.

We should make use of this action (or others if they are nicer to work with) to automate updates to catppuccin/homebrew-tap after uploading the binaries to GitHub releases.

sgoudham commented 5 months ago

Don't know why I've just realised Renovate exists even though we're starting to use it quite a bit.

I think https://docs.renovatebot.com/modules/manager/homebrew should be able to do the work for us

sgoudham commented 5 months ago

On-going discussion in https://github.com/renovatebot/renovate/discussions/29237

sgoudham commented 5 months ago

Renovate doesn't fully support this for monorepos at the moment so we have cron job workflow that acts like Renovate for now.

https://github.com/catppuccin/homebrew-tap/blob/main/.github/workflows/autoupdate.yml

We will most likely revisit Renovate when it has better support for monorepos or when we split out catwalk/whiskers into their own repositories.