Skip to content

Commit 7f3aa18

Browse files
committed
Fix version regex when building wheels
1 parent 4bf18b9 commit 7f3aa18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

suitesparse.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11

2-
if [[ $1 =~ refs/tags/([0-9]\.[0-9]\.[0-9]).*$ ]];
2+
if [[ $1 =~ refs/tags/([0-9]*\.[0-9]*\.[0-9]*)\..*$ ]];
33
then
44
VERSION=${BASH_REMATCH[1]}
55
else
66
exit -1
77
fi
8+
echo VERSION: $VERSION
89

910
curl -L https://github.com/DrTimothyAldenDavis/GraphBLAS/archive/refs/tags/v${VERSION}.tar.gz | tar xzf -
1011
cd GraphBLAS-${VERSION}/build

0 commit comments

Comments
 (0)