Repository navigation
Goreleaser brew support - #24
Conversation
I probably went with the goreleaser defaults. Let's use your template.
Haven't noticed that I didn't provide checksums, thanks for adding them.
I once added arm, but overall release times were so slow and timed out in a previous goreleaser version (because binaries for awsls are huge) that I removed them. Let's add arm again. |
|
Are you running releases locally? Would you like me to add GitHub actions to build releases when you push a new tag? |
|
I guess, this would be great. I did it locally, because my automated releases with Travis were timing out. But AFAIR releases with a newer version of goreleaser have been much faster (not sure if that has been a bug). |
|
I did a local build yesterday when testing the goreleaser template. It still took a long time, but I had a good nap 😴 😄 I'll add a github action to do the build. You'll just need to add the GITHUB_TOKEN to settings in this repo before it'll work. You can still do builds with goreleaser locally and |
|
LGTM. Thanks for your contribution, Justin :) |
| - name: Set up Go | ||
| uses: actions/setup-go@v1 | ||
| with: | ||
| go-version: 1.13.x |
There was a problem hiding this comment.
Can you change this to 1.15.x to match the travis build? (I can also do that after merge)
|
|
||
| brews: | ||
| - tap: | ||
| owner: rothgar |
There was a problem hiding this comment.
Can you change this back to my user? (I can also do that after merge).
|
Sorry I didn't get a chance to finish it last night. I got an error in GitHub actions on my build so I'm not 100% sure this will work as intended yet. |
Here's a base template for homebrew support.
You can install it from my tap via
brew install rothgar/tap/awslsI changed the owner back to you for this PR.To make a release
goreleaser release --rm-distI couldn't find where you're creating the existing changelogs. I added it in the template but we can remove it if you want to stick with your current method. I also added checksums.txt to be added to the releases. You can see how it looks for the release here https://github.com/rothgar/awsls/releases/tag/v1.16.0
We can also add Linux arm support if you'd like. Once macOS arm support lands in go we should be able to update goreleaser and add support there too.
Fixes #23