Skip to content

Commit 37027a3

Browse files
authored
Merge pull request #3582 from dragon-flyings/fixMakeGen
🌱 make generate error: target directory is not empty
2 parents cbbc500 + 0be9320 commit 37027a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hack/docs/generate.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ source "$(dirname "$0")/../../test/common.sh"
1818

1919
build_kb
2020

21+
# ensure that destroy succeed
22+
chmod -R +w docs/book/src/component-config-tutorial/testdata/project/
23+
chmod -R +w docs/book/src/cronjob-tutorial/testdata/project/
24+
2125
docs_gen_directory="$(dirname "$0")/../../hack/docs/generate_samples.go"
2226
go run ${docs_gen_directory}
2327

0 commit comments

Comments
 (0)