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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5bd7c649e4 Python: Set version prior `sdist` release (#8490)
5bd7c649e4 is described below

commit 5bd7c649e4743a61eace5f52517db9b5b56ff8e6
Author: Fokko Driesprong <[email protected]>
AuthorDate: Mon Sep 4 22:07:33 2023 +0200

    Python: Set version prior `sdist` release (#8490)
---
 .github/workflows/python-release.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/python-release.yml 
b/.github/workflows/python-release.yml
index c9957aa4fd..e310acdcb1 100644
--- a/.github/workflows/python-release.yml
+++ b/.github/workflows/python-release.yml
@@ -49,6 +49,11 @@ jobs:
         run: pip3 install poetry
         working-directory: ./python
 
+      - name: Set version
+        run: python3 -m poetry version "${{ inputs.version }}"
+        working-directory: ./python
+        if: "${{ github.event.inputs.version != 'master' }}"
+
       # Publish the source distribution with the version that's in
       # the repository, otherwise the tests will fail
       - name: Compile source distribution
@@ -56,11 +61,6 @@ jobs:
         if: "${{ matrix.os == 'ubuntu-20.04' }}"
         working-directory: ./python
 
-      - name: Set version
-        run: python3 -m poetry version "${{ inputs.version }}"
-        working-directory: ./python
-        if: "${{ github.event.inputs.version != 'master' }}"
-
       - name: Build wheels
         uses: pypa/[email protected]
         with:

Reply via email to