devOpifex / cranlogs

Cranlogs
MIT License
7 stars 2 forks source link

create homebrew tap repository and https://fury.co/ account to publish binaries #4

Open dpastoor opened 2 years ago

dpastoor commented 2 years ago

I can set up goreleaser + github actions such that this can be autopublished on tags to at least a homebrew tap + fury which would give apt/rpms for linux installs

If you're willing to create 2 things:

1) a repo in devOpifex called homebrew-tap 2) a fury.io account - https://fury.co/pricing - its free for open repos

The homebrew tap is the easiest piece since its just a new repo - the fury one I've actually never tried, so I'm going to try that on one of my packages now

JohnCoene commented 2 years ago

That sounds great, I never tried this and would love to learn how to do it!

I have created a fury account and the repository, should this be public?

dpastoor commented 2 years ago

great! yep, should be public - give me a couple hours :-) I'm going to add the setup and work through a successful end-to-end build here https://github.com/dpastoor/fab as a test and will write up the steps, then you can give it a whirl as well.

I've previously used drone for CI or just published locally, so this is my first foray into setting this all up with github actions. Thankfully, the goreleaser stuff is pretty comprehensive - https://github.com/goreleaser/goreleaser/blob/main/.github/workflows/build.yml but also contains more than those, so I'm unravelling which each section does.

dpastoor commented 2 years ago

alrighty - this took a bit longer than intended, but I took quite a dive into how goreleaser itself was setting itself up/testing. Very interesting patterns. I've now got it working locally + with CI https://github.com/dpastoor/fab

I'll get a PR with the bones of it + explanations hopefully later today!