mirror of https://github.com/docker/cli.git
docs: fix typos and version for cli-docs-tool scripts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 64a3fb82dc
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
5ab44a4690
commit
54c8eb7941
|
@ -7,7 +7,7 @@ go 1.16
|
|||
|
||||
//require (
|
||||
// github.com/docker/cli v0.0.0+incompatible
|
||||
// github.com/docker/cli-docs-tool v0.5.0
|
||||
// github.com/docker/cli-docs-tool v0.8.0
|
||||
//)
|
||||
//
|
||||
//replace github.com/docker/cli v0.0.0+incompatible => ../../
|
||||
|
|
|
@ -20,7 +20,7 @@ trap clean EXIT
|
|||
# init dummy go.mod
|
||||
./scripts/vendor init
|
||||
# install cli-docs-tool and copy docs/tools.go in root folder
|
||||
# to be able to fetch the required depedencies
|
||||
# to be able to fetch the required dependencies
|
||||
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
|
||||
cp docs/generate/tools.go .
|
||||
# update vendor
|
||||
|
|
|
@ -20,7 +20,7 @@ trap clean EXIT
|
|||
# init dummy go.mod
|
||||
./scripts/vendor init
|
||||
# install cli-docs-tool and copy docs/tools.go in root folder
|
||||
# to be able to fetch the required depedencies
|
||||
# to be able to fetch the required dependencies
|
||||
go mod edit -modfile=vendor.mod -require=github.com/docker/cli-docs-tool@${CLI_DOCS_TOOL_VERSION}
|
||||
cp docs/generate/tools.go .
|
||||
# update vendor
|
||||
|
|
Loading…
Reference in New Issue