Skip to content

Commit

Permalink
Update license-check to allow "Author(s)" term
Browse files Browse the repository at this point in the history
This was causing build to fail after being introduced in a new
PR.

Signed-off-by: Alex Ellis (VMware) <[email protected]>
  • Loading branch information
alexellis committed Aug 9, 2018
1 parent 87193ed commit 418db17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.redist
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
FROM golang:1.9.2 as builder

RUN curl -sL \
https://github.com/alexellis/license-check/releases/download/0.1/license-check > \
/usr/bin/license-check \
https://github.com/alexellis/license-check/releases/download/0.2.2/license-check > \
/usr/bin/license-check \
&& chmod +x /usr/bin/license-check

WORKDIR /go/src/github.com/openfaas/faas-cli
Expand All @@ -15,7 +15,7 @@ RUN test -z "$(gofmt -l $(find . -type f -name '*.go' -not -path "./vendor/*"))"
# ldflags "-s -w" strips binary
# ldflags -X injects commit version into binary

RUN license-check -path ./ --verbose=false \
RUN license-check -path ./ --verbose=false "Alex Ellis" "OpenFaaS Author(s)" "OpenFaaS Project" \
&& go test $(go list ./... | grep -v /vendor/ | grep -v /template/|grep -v /build/) -cover \
&& VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags | sed 's/tags\///') \
&& GIT_COMMIT=$(git rev-list -1 HEAD) \
Expand Down

0 comments on commit 418db17

Please sign in to comment.