blob: 569cd8b201f7539784a4adf6f96215575ff5c4bc [file] [log] [blame]
#!/bin/bash
pushd ${0%/*}
# It's important to clean the workspace so we don't end up with unintended
# docs artifacts in the new commit.
bazel clean \
&& bazel build //... \
&& cp bazel-bin/*.md . \
&& chmod 0644 *.md \
&& git add *.md \
&& git commit -m "Regenerate documentation"
popd