Skip to content

Commit 70ac2b5

Browse files
committed
handle pure tags in version comparison
Signed-off-by: mattip <matti.picus@gmail.com>
1 parent fe1fc7e commit 70ac2b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci-before-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ obcommit=$OPENBLAS_COMMIT
2121

2222
# convert - to . in OPENBLAS_COMMIT
2323
# strip off the last (build) number from version
24-
if [[ "${obcommit//-/.}" == *"${version%.*}"* ]]; then
24+
if [[ "${obcommit//-/.}" != *"${version%.*}"* ]]; then
2525
echo "OPENBLAS_COMMIT $OPENBLAS_COMMIT does not match the pyproject.toml version $version"
2626
exit -1
2727
fi

0 commit comments

Comments
 (0)