Announcing GoReleaser v2.4
New release coming in hot! new: create macOS app bundles. Initially they are only usable with …
What if I told you you can now automate the release of your libraries as well?
I think some of you are used to just run goreleaser
and have your binaries compiled, archived, packaged and published… but the experience was not that great regarding libraries.
Thanks to @leogr, on v0.131.0 we shipped the ability to skip builds entirely, which means you can now release libraries!
The usage is pretty simple, just create a config setting build.skip: true
and you’re good to go:
before:
hooks:
- go mod tidy
builds:
- skip: true
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
Of course, a lot of pipes won’t work, since they depend on the produced binaries. But it will generate a release, which is already better than doing it manually. 😌
Hope it helps!