Skip to content

Commit fbcbbf4

Browse files
committed
updating goreleaser to v1.26.2
Signed-off-by: Adam D. Cornett <adc@redhat.com>
1 parent 42b5d80 commit fbcbbf4

File tree

7 files changed

+514
-12
lines changed

7 files changed

+514
-12
lines changed

.bingo/Variables.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
2929
@echo "(re)installing $(GOBIN)/golangci-lint-v1.55.2"
3030
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.55.2 "github.com/golangci/golangci-lint/cmd/golangci-lint"
3131

32-
GORELEASER := $(GOBIN)/goreleaser-v1.16.2
32+
GORELEASER := $(GOBIN)/goreleaser-v1.26.2
3333
$(GORELEASER): $(BINGO_DIR)/goreleaser.mod
3434
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
35-
@echo "(re)installing $(GOBIN)/goreleaser-v1.16.2"
36-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN)/goreleaser-v1.16.2 "github.com/goreleaser/goreleaser"
35+
@echo "(re)installing $(GOBIN)/goreleaser-v1.26.2"
36+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=goreleaser.mod -o=$(GOBIN)/goreleaser-v1.26.2 "github.com/goreleaser/goreleaser"
3737

3838
KIND := $(GOBIN)/kind-v0.20.0
3939
$(KIND): $(BINGO_DIR)/kind.mod

.bingo/goreleaser.mod

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

3-
go 1.21.3
3+
go 1.22
44

5-
require github.com/goreleaser/goreleaser v1.16.2
5+
toolchain go1.22.5
6+
7+
require github.com/goreleaser/goreleaser v1.26.2

.bingo/goreleaser.sum

Lines changed: 495 additions & 0 deletions
Large diffs are not rendered by default.

.bingo/variables.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BINGO="${GOBIN}/bingo-v0.9.0"
1212

1313
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.55.2"
1414

15-
GORELEASER="${GOBIN}/goreleaser-v1.16.2"
15+
GORELEASER="${GOBIN}/goreleaser-v1.26.2"
1616

1717
KIND="${GOBIN}/kind-v0.20.0"
1818

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,31 @@ jobs:
1717
name: goreleaser
1818
runs-on: ubuntu-latest
1919
steps:
20+
- name: Clear Freespace
21+
run: |
22+
sudo find /usr/share/dotnet -delete
23+
sudo find /opt/ghc -delete
24+
2025
- name: Check out code into the Go module directory
21-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2227
with:
2328
fetch-depth: 0
2429

2530
- name: Install Go
26-
uses: actions/setup-go@v4
31+
uses: actions/setup-go@v5
2732
with:
2833
go-version-file: "go.mod"
2934

3035
- name: Docker Login
3136
if: ${{ github.event_name != 'pull_request' }}
32-
uses: docker/login-action@v2
37+
uses: docker/login-action@v3
3338
with:
3439
registry: quay.io
3540
username: ${{ secrets.QUAY_USERNAME }}
3641
password: ${{ secrets.QUAY_PASSWORD }}
3742

3843
- name: Set up QEMU
39-
uses: docker/setup-qemu-action@v2
44+
uses: docker/setup-qemu-action@v3
4045

4146
- name: Set the release related variables
4247
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ $(LOCALBIN):
172172
mkdir -p $(LOCALBIN)
173173

174174
export ENABLE_RELEASE_PIPELINE ?= false
175-
export GORELEASER_ARGS ?= --snapshot --clean --timeout=120m
175+
export GORELEASER_ARGS ?= --snapshot --clean --timeout=120m --debug
176176
release: $(GORELEASER) ## Runs goreleaser. By default, this will run only as a snapshot and will not publish any artifacts unless it is run with different arguments. To override the arguments, run with "GORELEASER_ARGS=...". When run as a github action from a tag, this target will publish a full release.
177177
$(GORELEASER) $(GORELEASER_ARGS)
178178

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/operator-framework/ansible-operator-plugins
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/go-logr/logr v1.4.1

0 commit comments

Comments
 (0)