Skip to content

Commit 7ee85de

Browse files
Fix regex in GLIBC version extraction for improved accuracy
1 parent 957dcac commit 7ee85de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-glibc236.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo "RELEASE_TAG=python-${{ github.event.inputs.python_version }}-linux-glibc236" >> $GITHUB_ENV
2828
echo "BUILD_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
2929
echo "ARCHITECTURE=$(uname -m)" >> $GITHUB_ENV
30-
echo "GLIBC_VERSION=$(ldd --version | head -n1 | grep -o '[0-9]\+\.[0-9]\+')" >> $GITHUB_ENV
30+
echo "GLIBC_VERSION=$(ldd --version | head -n1 | grep -oE '[0-9]+\.[0-9]+' | head -n1)" >> $GITHUB_ENV
3131
3232
- name: Install build dependencies
3333
run: |

0 commit comments

Comments
 (0)