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

BewareMyPower pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 7e74cd6  Fix release workflow and scripts (#300)
7e74cd6 is described below

commit 7e74cd6fbb74c3ef4edd0d17fd74654e1cf0995e
Author: Yunze Xu <[email protected]>
AuthorDate: Wed May 13 13:53:27 2026 +0800

    Fix release workflow and scripts (#300)
---
 .github/workflows/ci-build-release-wheels.yaml | 6 +++---
 build-support/stage-release.sh                 | 6 ++++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci-build-release-wheels.yaml 
b/.github/workflows/ci-build-release-wheels.yaml
index fc2bc4e..88b68aa 100644
--- a/.github/workflows/ci-build-release-wheels.yaml
+++ b/.github/workflows/ci-build-release-wheels.yaml
@@ -32,7 +32,7 @@ jobs:
   linux-wheel:
     name: Wheel ${{matrix.image.name}} - Py ${{matrix.python.version}} - 
${{matrix.cpu.platform}}
     runs-on: ubuntu-latest
-    timeout-minutes: 300
+    timeout-minutes: 360
 
     strategy:
       fail-fast: false
@@ -95,7 +95,7 @@ jobs:
   mac-wheels:
     name: Wheel MacOS Universal2 - Py ${{matrix.py.version}}
     runs-on: macos-14
-    timeout-minutes: 300
+    timeout-minutes: 360
 
     strategy:
       fail-fast: false
@@ -125,7 +125,7 @@ jobs:
     runs-on: windows-2022
     env:
       PULSAR_CPP_DIR: 'C:\\pulsar-cpp'
-    timeout-minutes: 300
+    timeout-minutes: 360
 
     strategy:
       fail-fast: false
diff --git a/build-support/stage-release.sh b/build-support/stage-release.sh
index d826938..08595df 100755
--- a/build-support/stage-release.sh
+++ b/build-support/stage-release.sh
@@ -42,9 +42,11 @@ mv $TAG.tar.gz pulsar-client-python-$VERSION.tar.gz
 
 # Download the Python wheels
 URLS=$(curl -L 
https://api.github.com/repos/apache/pulsar-client-python/actions/runs/$WORKFLOW_ID/artifacts
 \
-  | jq '.artifacts[] .archive_download_url' | sed 's/^"\(.*\)"$/\1/')
+  | jq -r '.artifacts[]
+      | select(((.name // "") | contains("dockerbuild")) | not)
+      | .archive_download_url')
 for URL in $URLS; do
-    curl -O -L $URL -H "Accept: application/vnd.github+json" -H 
"Authorization: Bearer $GITHUB_TOKEN"
+    curl -O -L "$URL" -H "Accept: application/vnd.github+json" -H 
"Authorization: Bearer $GITHUB_TOKEN"
     unzip -q zip
     rm -f zip
 done

Reply via email to