Document how to update an existing vendored dependency

This commit is contained in:
Justin SB 2018-12-20 13:00:59 -05:00
parent ede358c19b
commit 6deaa76ec1
No known key found for this signature in database
GPG Key ID: 8DEC5C8217494E37
1 changed files with 10 additions and 0 deletions

View File

@ -25,3 +25,13 @@ subdirectory.
`Gopkg.lock` and `Gopkg.toml`.
1. Open a pull request with these changes separately from other work
so that it is easier to review.
## Updating a dependency in the vendor directory (e.g. aws-sdk-go)
1. Update the locked version as specified in Gopkg.toml
1. Run `make dep-ensure`.
1. Review the changes to ensure that they are as intended / trustworthy.
1. Commit any changes, including changes to the `vendor` directory,
`Gopkg.lock` and `Gopkg.toml`.
1. Open a pull request with these changes separately from other work so that it
is easier to review. Please include any significant changes you observed.