Skip to content

Commit c5d9fed

Browse files
authored
Update goreleaser to v2.11.2 (#2390)
This version requires golang 1.24.6 (which is our max version) but also supports golang 1.25.3. This is the maximum version of goreleaser that we can move to given our golang version constraints of having to support golang 1.24 while moving to golang 1.25. Updates the config file to v2 Signed-off-by: Todd Short <tshort@redhat.com>
1 parent aaffdeb commit c5d9fed

File tree

5 files changed

+442
-379
lines changed

5 files changed

+442
-379
lines changed

.bingo/Variables.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
5353
@echo "(re)installing $(GOBIN)/golangci-lint-v2.6.2"
5454
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v2.6.2 "github.com/golangci/golangci-lint/v2/cmd/golangci-lint"
5555

56-
GORELEASER := $(GOBIN)/goreleaser-v1.26.2
56+
GORELEASER := $(GOBIN)/goreleaser-v2.11.2
5757
$(GORELEASER): $(BINGO_DIR)/goreleaser.mod
5858
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
59-
@echo "(re)installing $(GOBIN)/goreleaser-v1.26.2"
60-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN)/goreleaser-v1.26.2 "github.com/goreleaser/goreleaser"
59+
@echo "(re)installing $(GOBIN)/goreleaser-v2.11.2"
60+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN)/goreleaser-v2.11.2 "github.com/goreleaser/goreleaser/v2"
6161

6262
HELM := $(GOBIN)/helm-v3.18.4
6363
$(HELM): $(BINGO_DIR)/helm.mod

.bingo/goreleaser.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
22

3-
go 1.22.5
3+
go 1.24.6
44

5-
require github.com/goreleaser/goreleaser v1.26.2
5+
require github.com/goreleaser/goreleaser/v2 v2.11.2

0 commit comments

Comments
 (0)