forked from TrueCloudLab/distribution
Fix vendor validation
The dep-validate target appears to never get invoked. In the CircleCI build environment, "master" points to the commit under test. The circle.yml fragment needs to compare again "origin/master" instead. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
29e5cd5304
commit
f6c62456b8
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ test:
|
|||
- gvm use stable && go version
|
||||
|
||||
# Ensure validation of dependencies
|
||||
- gvm use stable && if test -n "`git diff --stat=1000 master | grep -E \"^[[:space:]]*vendor\"`"; then make dep-validate; fi:
|
||||
- gvm use stable && if test -n "`git diff --stat=1000 origin/master | grep -E \"^[[:space:]]*vendor\"`"; then make dep-validate; fi:
|
||||
pwd: $BASE_STABLE
|
||||
|
||||
# First thing: build everything. This will catch compile errors, and it's
|
||||
|
|
Loading…
Reference in a new issue