diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 9548ef0..1d8593d 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -111,8 +111,8 @@ jobs: - name: Build and test wheel run: | if [[ "$NIGHTLY" = "true" ]]; then - # Set the pyproject.toml version - version = $(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/") + # Set the pyproject.toml version: convert v0.3.24-30-g138ed79f to 0.3.34.30 + version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g") sed -e "s/^version = .*/version = ${version}/" -i.bak pyproject.toml fi if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then