From d2b6d192db18655e0930bd3c8051947873ed39b1 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 21 Jul 2021 12:21:03 +0200 Subject: [PATCH] Update cpuguy83/go-md2man binary to v2.0.1 full diff: https://github.com/cpuguy83/go-md2man/compare/v2.0.0...v2.0.1 - Fix handling multiple definition descriptions - Fix inline markup causing table cells to split - Remove escaping tilde character (prevents tildes (`~`) from disappearing). - Do not escape dash, underscore, and ampersand (prevents ampersands (`&`) from disappearing). - Ignore unknown HTML tags to prevent noisy warnings Note that this only updates the binaries we install. The vendor code also includes go-md2man (as indirect dependency of urfave/cli). I don't think we use that feature, so I did not add it to our go.mod Signed-off-by: Sebastiaan van Stijn --- .github/workflows/ci.yml | 2 +- script/setup/install-dev-tools | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59c9fc23d..56f7a43a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -129,7 +129,7 @@ jobs: with: path: src/github.com/containerd/containerd - - run: GO111MODULE=on go get github.com/cpuguy83/go-md2man/v2@v2.0.0 + - run: GO111MODULE=on go get github.com/cpuguy83/go-md2man/v2@v2.0.1 - run: make man working-directory: src/github.com/containerd/containerd diff --git a/script/setup/install-dev-tools b/script/setup/install-dev-tools index 8ec65cf1e..c88cff57b 100755 --- a/script/setup/install-dev-tools +++ b/script/setup/install-dev-tools @@ -33,5 +33,5 @@ GO111MODULE=on go get github.com/stevvooe/protobuild GO111MODULE=off go get -d github.com/gogo/googleapis || true GO111MODULE=off go get -d github.com/gogo/protobuf || true -GO111MODULE=on go get github.com/cpuguy83/go-md2man/v2@v2.0.0 +GO111MODULE=on go get github.com/cpuguy83/go-md2man/v2@v2.0.1 GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.38.0