Skip to content

Commit b203e46

Browse files
authored
Merge pull request #27 from eriknw/fix_version_regex
Fix version regex when building wheels
2 parents 4bf18b9 + 7f3aa18 commit b203e46

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)