Skip to content

Commit ca29d7a

Browse files
authored
Run go mod tidy after fixing replace (#1243)
1 parent bc32427 commit ca29d7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hack/fix_go_mod_replace.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ go get "github.com/argoproj/argo-cd/v2@${argocd_version}"
88
k8s_version="$(grep -m1 k8s.io/api go.mod | awk '{print $2}')"
99
[ "${k8s_version}" ]
1010
perl -i -pne "s/(k8s.io\/\S+ => k8s.io\/\S+) .+$/\1 ${k8s_version}/g" go.mod
11+
12+
go mod tidy

0 commit comments

Comments
 (0)