Created attachment 227968 [details]
[New port] devel/goreleaser: Deliver Go binaries as fast and easily as possible
Straightforward Go port.
I've actually prepared some other ports to build and install the documentation, but one of the ports needed for that (textproc/py-mkdocs) first needs to be updated by its maintainer. I have already sent an email to the maintainer and will add the docs at a later date.
Tested with Poudriere on arm64 armv7 amd64 i386 FreeBSD 13.0-RELEASE and arm64 amd64 i386 FreeBSD 12.0-RELEASE.
Please note that upstream releases very often. If you have tested the port and a new release has appeared in the meanwhile, please let me know so I can update the patch.
GoReleaser builds Go binaries for several platforms, creates a GitHub
release and then pushes a Homebrew formula to a tap repository. All
that wrapped in your favorite CI.
With GoReleaser, you can:
- Cross-compile your Go project
- Release to GitHub, GitLab and Gitea
- Create Docker images and manifests
- Create Linux packages and Homebrew taps
- Sign artifacts, checksums and Docker images
- Announce new releases on Twitter, Slack, Discord and Microsoft Teams
- ... and much more!
A commit in branch main references this bug:
Author: Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2021-09-20 08:19:44 +0000
Commit: Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2021-09-20 08:24:38 +0000
devel/goreleaser: add goreleaser.
Reported by: Robert Clausecker <fuz at fuz.su>
devel/Makefile | 1 +
devel/goreleaser/Makefile (new) | 34 ++++++++++++++++++++++++++++++++++
devel/goreleaser/distinfo (new) | 5 +++++
devel/goreleaser/pkg-descr (new) | 15 +++++++++++++++
4 files changed, 55 insertions(+)