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 63fcef9 commit 12ec5e1Copy full SHA for 12ec5e1
.github/workflows/main.yml
@@ -36,15 +36,11 @@ jobs:
36
- name: Build Package
37
run: python3 -m build
38
39
- - name: Install the build in workspace
40
- run: |
41
- pip install ./dist/netfoundry-*.tar.gz
42
-
43
- name: Read version string
44
id: run_version
45
run: |
46
- PYPI_VERSION=$(python3 -m netfoundry.version)
47
- [[ ${PYPI_VERSION} =~ ^v[0-9]\s+\.[0-9]\s+\.[0-9]\s+.* ]] || {
+ PYPI_VERSION=$(python setup.py --version)
+ [[ ${PYPI_VERSION} =~ ^[0-9]+\.[0-9]+\.[0-9]+.* ]] || {
48
echo "ERROR: unexpected version string '${PYPI_VERSION}'" >&2
49
exit 1
50
}
0 commit comments