We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c4d61 commit 6303062Copy full SHA for 6303062
.github/workflows/posix.yml
@@ -141,8 +141,9 @@ jobs:
141
142
- name: Build and test wheel
143
run: |
144
- if [[ "$NIGHTLY" = "true" ]]; then
+ if [ "$NIGHTLY" = "true" -a "$BRANCH_NAME" = "main" ]; then
145
# Set the pyproject.toml version: convert v0.3.24-30-g138ed79f to 0.3.34.30
146
+ # This will fail if `git describe --tags` hits a tag like v0.3.27
147
version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
148
sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
149
fi
0 commit comments