You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2024/04/15 15:47:48 UTC

(beam) 01/01: Fix build wheels due to setuptools changed naming

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

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

commit 8c19fe66c3e6ad1648b596bbf254a7e72bc58d25
Author: Yi Hu <ya...@google.com>
AuthorDate: Mon Apr 15 11:47:19 2024 -0400

    Fix build wheels due to setuptools changed naming
---
 .github/workflows/build_wheels.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 8a061ef9a6e..812d180c92e 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -123,7 +123,7 @@ jobs:
         run: tar -xzvf dist/$(ls dist | grep .tar.gz | head -n 1)
       - name: Rename source directory
         working-directory: ./sdks/python
-        run: mv $(ls | grep apache-beam) apache-beam-source
+        run: mv $(ls | grep "apache-beam\|apache_beam") apache-beam-source
       - name: Upload source as artifact
         # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
         uses: actions/upload-artifact@v3
@@ -166,7 +166,7 @@ jobs:
       - name: Rename RC source directory
         if: steps.is_rc.outputs.is_rc == 1
         working-directory: ./sdks/python
-        run: mv $(ls | grep apache-beam) apache-beam-source-rc
+        run: mv $(ls | grep "apache-beam\|apache_beam") apache-beam-source-rc
       - name: Upload RC source as artifact
         if: steps.is_rc.outputs.is_rc == 1
         # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249