Bug 258562 - [New port] devel/goreleaser: Deliver Go binaries as fast and easily as possible
Summary: [New port] devel/goreleaser: Deliver Go binaries as fast and easily as possible
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL: https://goreleaser.com/
Keywords: feature, patch
Depends on:
Blocks:
 
Reported: 2021-09-17 20:23 UTC by Robert Clausecker
Modified: 2021-09-20 08:25 UTC (History)
1 user (show)

See Also:


Attachments
[New port] devel/goreleaser: Deliver Go binaries as fast and easily as possible (3.17 KB, patch)
2021-09-17 20:23 UTC, Robert Clausecker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2021-09-17 20:23:59 UTC
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!

WWW: https://goreleaser.com/
Comment 1 Vanilla I. Shu freebsd_committer freebsd_triage 2021-09-20 08:24:19 UTC
Committed, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-09-20 08:25:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=77d9f83a4e4e50f00dc0f08858fa6f06b8f7d624

commit 77d9f83a4e4e50f00dc0f08858fa6f06b8f7d624
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.

    PR:             258562
    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(+)