Skip to content

Commit a3a5248

Browse files
authored
fix: moved goreleaser manifest gen to avoid race cond (#82)
1 parent eebb353 commit a3a5248

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.goreleaser.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ version: 2
1616
before:
1717
hooks:
1818
- go mod tidy
19+
- make manifests generate
20+
- make release IMG=ghcr.io/google/{{ .ProjectName }}:{{ .Tag }} MANIFESTS=manifests.yaml
1921
builds:
2022
- id: kube-startup-cpu-boost
2123
main: ./cmd
@@ -32,11 +34,6 @@ builds:
3234
goarch:
3335
- amd64
3436
- arm64
35-
hooks:
36-
pre:
37-
- cmd: make manifests generate
38-
post:
39-
- cmd: make release IMG=ghcr.io/google/{{ .ProjectName }}:{{ .Tag }} MANIFESTS=manifests.yaml
4037
dockers:
4138
- goos: linux
4239
goarch: amd64

0 commit comments

Comments
 (0)