You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/02/28 15:46:14 UTC

[beam] branch master updated: gen protos before running py38-docs in build_release_candidate (#25650)

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new b3273e63960 gen protos before running py38-docs in build_release_candidate (#25650)
b3273e63960 is described below

commit b3273e63960fe8c22fbf342ffa1c65ff00ee5179
Author: Danny McCormick <da...@google.com>
AuthorDate: Tue Feb 28 10:46:04 2023 -0500

    gen protos before running py38-docs in build_release_candidate (#25650)
---
 release/src/main/scripts/build_release_candidate.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/release/src/main/scripts/build_release_candidate.sh b/release/src/main/scripts/build_release_candidate.sh
index 127e83fe0b4..0b78296fe35 100755
--- a/release/src/main/scripts/build_release_candidate.sh
+++ b/release/src/main/scripts/build_release_candidate.sh
@@ -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