325c3a457b
The hack/vendor.sh script is used to (re)vendor dependencies. However, it did not run `go mod tidy` before doing so, wheras the vendor _validation_ script did. This could result in vendor validation failing if go mod tidy resulted in changes (which could be in `vendor.sum`). In "usual" situations, this could be easily done by the user (`go mod tidy` before running `go mod vendor`), but due to our (curent) uses of `vendor.mod`, and having to first set up a (dummy) `go.mod`, this is more complicated. Instead, just make the script do this, so that `hack/vendor.sh` will always produce the expected result. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
.swagger-yamllint | ||
.validate | ||
all | ||
changelog-date-descending | ||
changelog-well-formed | ||
dco | ||
default | ||
default-seccomp | ||
deprecate-integration-cli | ||
golangci-lint | ||
golangci-lint.yml | ||
pkg-imports | ||
shfmt | ||
swagger | ||
swagger-gen | ||
toml | ||
vendor |