docs: fix typos and version for cli-docs-tool scripts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Родитель
e3e9b99015
Коммит
64a3fb82dc
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче