mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-26 21:24:22 +00:00
ed2fbe0328
Use module support in Go1.11 to download the exact version of dependencies as specified in the go.mod file, this is contrary to "go get -u", which grabs the latest version, making reproducible builds and tests difficult. In order for Go1.9 and Go1.10 to work, we also emit a vendor directory for pre-module support. Lastly, check whether the go.mod or go.sum files changed (by shelling to "git diff"). This provides protection in case a new dependency was added and the go.mod file was not updated. Change-Id: Iac4e9b224ca9188dc9e63be720f188bfb5ee56ef Reviewed-on: https://go-review.googlesource.com/127916 Reviewed-by: Bryan C. Mills <bcmills@google.com>
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
vendor
|