You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by fo...@apache.org on 2023/09/12 22:03:46 UTC

[iceberg] branch fd-update-if-condition created (now bdc7eda3f6)

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

fokko pushed a change to branch fd-update-if-condition
in repository https://gitbox.apache.org/repos/asf/iceberg.git


      at bdc7eda3f6 Python: Change logic to use `startsWith`

This branch includes the following new commits:

     new bdc7eda3f6 Python: Change logic to use `startsWith`

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iceberg] 01/01: Python: Change logic to use `startsWith`

Posted by fo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch fd-update-if-condition
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit bdc7eda3f6fcb09a934b1bcedc1ebc5fae7eca40
Author: Fokko Driesprong <fo...@apache.org>
AuthorDate: Wed Sep 13 00:03:39 2023 +0200

    Python: Change logic to use `startsWith`
    
    We've moved from 20.04 to 22.04 but forgot to update
    the if-conditions below. This should fix it
---
 .github/workflows/python-release.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml
index afa3d18a29..a59af0cf9b 100644
--- a/.github/workflows/python-release.yml
+++ b/.github/workflows/python-release.yml
@@ -57,7 +57,7 @@ jobs:
       # the repository, otherwise the tests will fail
       - name: Compile source distribution
         run: python3 -m poetry build --format=sdist
-        if: "${{ matrix.os == 'ubuntu-20.04' }}"
+        if: startsWith(matrix.os, 'ubuntu')
         working-directory: ./python
 
       - name: Build wheels
@@ -80,7 +80,7 @@ jobs:
           CIBW_TEST_SKIP: "pp* *macosx*"
 
       - name: Add source distribution
-        if: "${{ matrix.os == 'ubuntu-20.04' }}"
+        if: startsWith(matrix.os, 'ubuntu')
         run: ls -lah python/dist/* && cp python/dist/* wheelhouse/
 
       - uses: actions/upload-artifact@v3