We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d76aed commit 04b14c1Copy full SHA for 04b14c1
Makefile
@@ -59,6 +59,8 @@ BINS := mysqlctl mysqlctld vtaclcheck topo2topo vtbackup vtclient vtcombo \
59
# `make mysqlctl-docs COBRADOC_VERSION_PAIRS="main:22.0" VITESS_DIR=~/go/src/github.com/vitessio/vitess`
60
%-docs:
61
go run ./tools/cobradocs/ --vitess-dir "${VITESS_DIR}" --version-pairs "${COBRADOC_VERSION_PAIRS}" $(patsubst %-docs,%,$@)
62
+ COMMIT_HASH=$(shell cd $(VITESS_DIR) && git rev-parse --short HEAD) && \
63
+ git add -u content && git commit -s -m "Update cobradocs for $$COMMIT_HASH"
64
65
# Target to run them all.
66
.PHONY: generated-docs
0 commit comments