Skip to content

Commit

Permalink
need to lock in version of generators (#1236)
Browse files Browse the repository at this point in the history
* Locked version go-bindata tool to specific version
* turned off metadata for generated `bindata.go` file

Signed-off-by: Ken Sipe <kensipe@gmail.com>
  • Loading branch information
kensipe authored Dec 31, 2019
1 parent 343696a commit e7244b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ deploy-clean:
# Generate code
generate:
ifeq (, $(shell which go-bindata))
go get github.com/go-bindata/go-bindata/go-bindata
go get github.com/go-bindata/go-bindata/go-bindata@v3.1.2
endif
go-bindata -pkg crd -o pkg/kudoctl/kudoinit/crd/bindata.go -ignore README.md config/crds
go-bindata -pkg crd -o pkg/kudoctl/kudoinit/crd/bindata.go -ignore README.md -nometadata config/crds
./hack/update_codegen.sh

.PHONY: generate-clean
Expand Down
10 changes: 5 additions & 5 deletions pkg/kudoctl/kudoinit/crd/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7244b3

Please sign in to comment.