Open dpastoor opened 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?
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.
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!
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 reposThe 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