Skip to content

Commit

Permalink
Add mod cleanup to hack/update-k8s-version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mojotx authored and evanlucas committed Jan 21, 2021
1 parent da5fa3c commit 8ef1827
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hack/update-k8s-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ for MOD in "${MODS[@]}"; do
go mod edit "-replace=${MOD}=${MOD}@${V}"
done
go get "k8s.io/kubernetes@v${VERSION}"

# Verify and cleanup
go mod download -x
go mod verify
go mod tidy -v

0 comments on commit 8ef1827

Please sign in to comment.