Skip to content

Commit 4011273

Browse files
continuous release: tweaks
1 parent 66c0c45 commit 4011273

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
- name: Generate pip install commands for release body
220220
run: |
221221
cat > body.md << 'ENDOFMARKDOWN'
222-
## Latest `main` Wheel Pre-release
222+
## Latest `main` pre-release wheel
223223
224224
This pre-release contains the latest development wheels for all supported platforms, rebuilt automatically on every commit to the `main` branch.
225225
@@ -231,6 +231,17 @@ jobs:
231231
for whl in wheels/*.whl; do
232232
fname=$(basename "$whl")
233233
url="https://github.com/bitsandbytes-foundation/bitsandbytes/releases/download/continuous-release_main/$fname"
234+
235+
if [[ "$fname" == *"manylinux_2_24_x86_64"* ]]; then
236+
echo "### Linux (x86_64)" >> body.md
237+
elif [[ "$fname" == *"manylinux_2_24_aarch64"* ]]; then
238+
echo "### Linux (ARM/aarch64)" >> body.md
239+
elif [[ "$fname" == *"win_amd64"* ]]; then
240+
echo "### Windows (x86_64)" >> body.md
241+
else
242+
echo "### Other platform" >> body.md
243+
fi
244+
234245
echo "\`\`\`sh" >> body.md
235246
echo "pip install $url" >> body.md
236247
echo "\`\`\`" >> body.md

0 commit comments

Comments
 (0)