File tree Expand file tree Collapse file tree 7 files changed +198
-124
lines changed
sig-storage/1790-recover-resize-failure Expand file tree Collapse file tree 7 files changed +198
-124
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set -o nounset
19
19
set -o pipefail
20
20
21
21
# keep in sync with hack/verify-toc.sh
22
- TOOL_VERSION=ee652eb78c047a7b6c7417d9324a97bb05689563
22
+ TOOL_VERSION=b8c54a57d69f29386d055584e595f38d65ce2a1f
23
23
24
24
# cd to the root path
25
25
ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd -P) "
@@ -38,9 +38,11 @@ trap exitHandler EXIT
38
38
# perform go get in a temp dir as we are not tracking this version in a go module
39
39
# if we do the go get in the repo, it will create / update a go.mod and go.sum
40
40
cd " ${TMP_DIR} "
41
- GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " github.com/tallclair /mdtoc@${TOOL_VERSION} "
41
+ GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " sigs.k8s.io /mdtoc@${TOOL_VERSION} "
42
42
export PATH=" ${TMP_DIR} :${PATH} "
43
43
cd " ${ROOT} "
44
44
45
45
# Update tables of contents if necessary.
46
- find keps -name ' *.md' | grep -Fxvf hack/.notableofcontents | xargs mdtoc --inplace
46
+ find keps -name ' *.md' \
47
+ | grep -Fxvf hack/.notableofcontents \
48
+ | xargs mdtoc --inplace --max-depth=5
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set -o nounset
19
19
set -o pipefail
20
20
21
21
# keep in sync with hack/update-toc.sh
22
- TOOL_VERSION=ee652eb78c047a7b6c7417d9324a97bb05689563
22
+ TOOL_VERSION=b8c54a57d69f29386d055584e595f38d65ce2a1f
23
23
24
24
# cd to the root path
25
25
ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd -P) "
@@ -38,10 +38,12 @@ trap exitHandler EXIT
38
38
# perform go get in a temp dir as we are not tracking this version in a go module
39
39
# if we do the go get in the repo, it will create / update a go.mod and go.sum
40
40
cd " ${TMP_DIR} "
41
- GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " github.com/tallclair /mdtoc@${TOOL_VERSION} "
41
+ GO111MODULE=on GOBIN=" ${TMP_DIR} " go get " sigs.k8s.io /mdtoc@${TOOL_VERSION} "
42
42
export PATH=" ${TMP_DIR} :${PATH} "
43
43
cd " ${ROOT} "
44
44
45
45
echo " Checking table of contents are up to date..."
46
46
# Verify tables of contents are up-to-date
47
- find keps -name ' *.md' | grep -Fxvf hack/.notableofcontents | xargs mdtoc --inplace --dryrun
47
+ find keps -name ' *.md' \
48
+ | grep -Fxvf hack/.notableofcontents \
49
+ | xargs mdtoc --inplace --max-depth=5 --dryrun
You can’t perform that action at this time.
0 commit comments