Skip to content

Commit 3b02612

Browse files
committed
update goreleaser version, and remove invalid config
1 parent 90224ee commit 3b02612

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.goreleaser.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@ builds:
1717
archives:
1818
- id: kubectl-fdb
1919
builds:
20-
- kubectl-fdb
20+
- kubectl-fdb
2121
format: binary
2222
name_template: "{{ .Binary }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
23-
replacements:
24-
darwin: Darwin
25-
linux: Linux
26-
windows: Windows
27-
amd64: x86_64
2823
checksum:
2924
name_template: 'checksums.txt'
3025
snapshot:

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ KUSTOMIZE_PKG?=sigs.k8s.io/kustomize/kustomize/[email protected]
3535
KUSTOMIZE=$(GOBIN)/kustomize
3636
GOLANGCI_LINT_PKG=github.com/golangci/golangci-lint/cmd/[email protected]
3737
GOLANGCI_LINT=$(GOBIN)/golangci-lint
38-
GORELEASER_PKG=github.com/goreleaser/goreleaser@v1.9.2
38+
GORELEASER_PKG=github.com/goreleaser/goreleaser@v1.20.0
3939
GORELEASER=$(GOBIN)/goreleaser
4040
GO_LINES_PKG=github.com/segmentio/[email protected]
4141
GO_LINES=$(GOBIN)/golines
@@ -251,7 +251,7 @@ release: bin/release
251251

252252
bin/release: ${GO_SRC} $(GORELEASER)
253253
$(GORELEASER) check
254-
$(GORELEASER) release --rm-dist
254+
$(GORELEASER) release --clean
255255
@mkdir -p bin
256256
@touch $@
257257

0 commit comments

Comments
 (0)