git: d6b34c17ddb2 - main - devel/goreleaser: update to 2.0.1

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 12:56:58 UTC
The branch main has been updated by fuz:

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

commit d6b34c17ddb21c3b4f4a7163e27c6a40be8fac2d
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-06-15 16:13:16 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-06-16 11:53:27 +0000

    devel/goreleaser: update to 2.0.1
    
    This is a major breaking update, discarding a bunch of legacy features.
    Users relying on the deprecated features now removed should read the
    release notes and linked document to understand how to convert their
    projects.
    
    Changelog: https://github.com/goreleaser/goreleaser/releases/tag/v2.0.0
    Changelog: https://github.com/goreleaser/goreleaser/releases/tag/v2.0.1
    Upgrade guide: https://goreleaser.com/blog/goreleaser-v2/#highlights
    
    MFH:            no
---
 devel/goreleaser/Makefile |  6 +++---
 devel/goreleaser/distinfo | 10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/devel/goreleaser/Makefile b/devel/goreleaser/Makefile
index 26debdfd27df..bcad81befa1f 100644
--- a/devel/goreleaser/Makefile
+++ b/devel/goreleaser/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	goreleaser
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.26.1
-PORTREVISION=	1
+DISTVERSION=	2.0.1
 CATEGORIES=	devel
 
 MAINTAINER=	fuz@FreeBSD.org
@@ -12,7 +11,8 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 USES=		go:1.21,modules
-GO_MODULE=	github.com/goreleaser/goreleaser
+GO_MODULE=	github.com/goreleaser/goreleaser/v2
+GO_TARGET=	.:goreleaser
 GO_BUILDFLAGS=	-ldflags="-X main.version=${PKGVERSION} -X 'main.builtBy=FreeBSD ports' ${STRIP}"
 
 # TODO: generate documentation
diff --git a/devel/goreleaser/distinfo b/devel/goreleaser/distinfo
index 97dd34be5d64..261c8d16b934 100644
--- a/devel/goreleaser/distinfo
+++ b/devel/goreleaser/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1716237354
-SHA256 (go/devel_goreleaser/goreleaser-v1.26.1/v1.26.1.mod) = c7e6d4b395e2400c3df2461b3507621aee6ffb41564a91e3a680b6d2737214ef
-SIZE (go/devel_goreleaser/goreleaser-v1.26.1/v1.26.1.mod) = 16874
-SHA256 (go/devel_goreleaser/goreleaser-v1.26.1/v1.26.1.zip) = bec4173f01e9bebf205f6bef4cf31a87e539f69bda995a46a3991f6ae8d6d931
-SIZE (go/devel_goreleaser/goreleaser-v1.26.1/v1.26.1.zip) = 1362538
+TIMESTAMP = 1718467623
+SHA256 (go/devel_goreleaser/goreleaser-v2.0.1/v2.0.1.mod) = 33f8f0f4cd456fa9cc094542993c6b8c7805fb8a7cc50924c192203c33d3edad
+SIZE (go/devel_goreleaser/goreleaser-v2.0.1/v2.0.1.mod) = 16985
+SHA256 (go/devel_goreleaser/goreleaser-v2.0.1/v2.0.1.zip) = 35ab08204ad46c7b0e3d70871c0070ac2963dfb1b4810249a512a512916defc3
+SIZE (go/devel_goreleaser/goreleaser-v2.0.1/v2.0.1.zip) = 1365836