mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
Add a header to go.work
This commit is contained in:
2
go.work
2
go.work
@@ -1,3 +1,5 @@
|
|||||||
|
// This is a generated file. Do not edit directly.
|
||||||
|
|
||||||
go 1.22.0
|
go 1.22.0
|
||||||
|
|
||||||
use (
|
use (
|
||||||
|
|||||||
@@ -37,6 +37,12 @@ rm -f go.work go.work.sum
|
|||||||
|
|
||||||
# Generate the workspace.
|
# Generate the workspace.
|
||||||
go work init
|
go work init
|
||||||
|
(
|
||||||
|
echo "// This is a generated file. Do not edit directly."
|
||||||
|
echo
|
||||||
|
cat go.work
|
||||||
|
) > .go.work.tmp
|
||||||
|
mv .go.work.tmp go.work
|
||||||
go work edit -use .
|
go work edit -use .
|
||||||
git ls-files -z ':(glob)./staging/src/k8s.io/*/go.mod' \
|
git ls-files -z ':(glob)./staging/src/k8s.io/*/go.mod' \
|
||||||
| xargs -0 -n1 dirname -z \
|
| xargs -0 -n1 dirname -z \
|
||||||
|
|||||||
Reference in New Issue
Block a user