ghosts
ghosts copied to clipboard
Build artifacts shouldn't be committed
I think if Goreleaser is automatically attaching the binaries (a.k.a. artifacts) to the git release/tags, there is no need for binaries to be committed directly to the repository.
Applies to files in dist/
and ghosts
in the repository root.
Thanks George @grawlinson this is a good point.
Question for you: how would I distribute binaries for folks who don't have a Go build environment?
(Sorry for the looooong delay in replying. I missed the notification)
Goreleaser has documentation and an example repository that makes use of GitHub Actions to create binaries using GitHub's free CI/CD and attaches them to tags as seen here.
Users can then navigate to the most recent tag and download the required binaries.
Am I understanding your question right?
Yes George @grawlinson great answer. I'll do that!