Skip to content

Commit 7e74cd6

Browse files
Fix release workflow and scripts (#300)
1 parent 7e03a4d commit 7e74cd6

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/ci-build-release-wheels.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
linux-wheel:
3333
name: Wheel ${{matrix.image.name}} - Py ${{matrix.python.version}} - ${{matrix.cpu.platform}}
3434
runs-on: ubuntu-latest
35-
timeout-minutes: 300
35+
timeout-minutes: 360
3636

3737
strategy:
3838
fail-fast: false
@@ -95,7 +95,7 @@ jobs:
9595
mac-wheels:
9696
name: Wheel MacOS Universal2 - Py ${{matrix.py.version}}
9797
runs-on: macos-14
98-
timeout-minutes: 300
98+
timeout-minutes: 360
9999

100100
strategy:
101101
fail-fast: false
@@ -125,7 +125,7 @@ jobs:
125125
runs-on: windows-2022
126126
env:
127127
PULSAR_CPP_DIR: 'C:\\pulsar-cpp'
128-
timeout-minutes: 300
128+
timeout-minutes: 360
129129

130130
strategy:
131131
fail-fast: false

build-support/stage-release.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ mv $TAG.tar.gz pulsar-client-python-$VERSION.tar.gz
4242

4343
# Download the Python wheels
4444
URLS=$(curl -L https://api.github.com/repos/apache/pulsar-client-python/actions/runs/$WORKFLOW_ID/artifacts \
45-
| jq '.artifacts[] .archive_download_url' | sed 's/^"\(.*\)"$/\1/')
45+
| jq -r '.artifacts[]
46+
| select(((.name // "") | contains("dockerbuild")) | not)
47+
| .archive_download_url')
4648
for URL in $URLS; do
47-
curl -O -L $URL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $GITHUB_TOKEN"
49+
curl -O -L "$URL" -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $GITHUB_TOKEN"
4850
unzip -q zip
4951
rm -f zip
5052
done

0 commit comments

Comments
 (0)