tldr-pages / tldr-c-client

C command-line client for tldr pages
MIT License
296 stars 49 forks source link

ci: add Brew formula update action #55

Closed owenvoke closed 3 years ago

owenvoke commented 3 years ago

What does it do?

This automatically creates a PR to the homebrew/core tap with the bumped tldr formula version.

Why the change?

This allows us to automatically be able to release new versions to Brew without having to do it manually.

How can this be tested?

Not really sure...

Where to start code review?

https://github.com/dawidd6/action-homebrew-bump-formula#standard-mode

Note, this will require a new PAT token (with public_repo scope), which I think we should generate with the @tldr-bot account. This then needs to be added as a GitHub secret with the name BREW_ACCESS_TOKEN for the action to work. The new token has now been set up. 👍🏻

owenvoke commented 3 years ago

@Leandros, I see that you're the person who is mostly maintaining this repository. To release a new v1.4.0 version, is there anything in particular that needs to be done (other than updating the changelog, and tagging a new release)?

This update would mostly be to resolve #38 and #44, but also it'd be nice to have the other updates in there too if it's stable. 👍🏻

sbrl commented 3 years ago

Merging at @waldyrious's request.