Skip to content

Commit 4c3ccbf

Browse files
committed
update goreleaser configuration
1 parent 8c1ecd7 commit 4c3ccbf

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ cmd/plugin/release/LICENSE
6161
tmp/
6262
test/junitreports/
6363
tests/__snapshot__
64+
65+
# goreleaser artifacts
66+
dist/

.goreleaser.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
project_name: ingress-nginx
24
release:
35
github:
@@ -23,7 +25,8 @@ builds:
2325
-X k8s.io/ingress-nginx/version.RELEASE={{ .Tag }}
2426
archives:
2527
- id: ingress-nginx
26-
builds:
28+
ids:
2729
- ingress-nginx
2830
name_template: "kubectl-{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
29-
format: tar.gz
31+
formats:
32+
- tar.gz

0 commit comments

Comments
 (0)