Skip to content

Commit

Permalink
gen protos before running py38-docs in build_release_candidate (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm authored Feb 28, 2023
1 parent fed3513 commit b3273e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/src/main/scripts/build_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ if [[ $confirmation = "y" ]]; then
cd ${BEAM_ROOT_DIR}
RELEASE_COMMIT=$(git rev-list -n 1 "tags/${RC_TAG}")
# TODO(https://github.com/apache/beam/issues/20209): Don't hardcode py version in this file.
cd sdks/python && pip install -r build-requirements.txt && tox -e py38-docs
# TODO(https://github.com/apache/beam/issues/25649): Remove intermediate gen_protos step.
cd sdks/python && pip install -r build-requirements.txt && python gen_protos.py && tox -e py38-docs
GENERATED_PYDOC=~/${LOCAL_WEBSITE_UPDATE_DIR}/${LOCAL_PYTHON_DOC}/${BEAM_ROOT_DIR}/sdks/python/target/docs/_build
rm -rf ${GENERATED_PYDOC}/.doctrees

Expand Down

0 comments on commit b3273e6

Please sign in to comment.