Commit 20f6374
committed
Disable Go workspace mode in goreleaser
go mod download in workspace mode resolves the union of all workspace
modules' dependencies. This includes k8s.io/kubernetes staging packages
at v0.0.0, which are not published as standalone modules and cause the
download to fail.
Setting GOWORK=off restricts the download to the root module. The local
replace directive for pkg/apis handles cross-module resolution without
workspace mode.1 parent e4857b0 commit 20f6374
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments