Skip to content

Commit

Permalink
Merge pull request #122 from mattip/nightly
Browse files Browse the repository at this point in the history
fix nightly version parsing
  • Loading branch information
mattip authored Oct 1, 2023
2 parents ab19bb2 + 63015e5 commit 387b573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 387b573

Please sign in to comment.