Makefile: use version suffix in go generate command
Currently, we lack the `/v2` suffix on our `go generate` command, which results in us downloading and running the command from Git LFS v1.5.6, which is probably not what we intended. In addition, Go “helpfully” modifies our go.mod and go.sum to include new entries, which is also undesirable. Let's update the Makefile to invoke the proper package to avoid these problems.
This commit is contained in:
parent
beb10f8114
commit
c6078ece12
2
Makefile
2
Makefile
@ -198,7 +198,7 @@ mangen : commands/mancontent_gen.go
|
||||
# 'commands' of Git LFS. It depends upon the contents of the 'docs' directory
|
||||
# and converts those manpages into code.
|
||||
commands/mancontent_gen.go : $(wildcard docs/man/*.ronn)
|
||||
GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/commands
|
||||
GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/v2/commands
|
||||
|
||||
# Targets 'all' and 'build' build binaries of Git LFS for the above release
|
||||
# matrix.
|
||||
|
Loading…
Reference in New Issue
Block a user