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.
2 parents dcfe0da + b7a2f6a commit 23ea234Copy full SHA for 23ea234
.github/workflows/python-publish.yml
@@ -44,9 +44,9 @@ jobs:
44
45
- name: Build release distributions
46
run: |
47
- # NOTE: put your own distribution build steps here.
48
python -m pip install build
49
- export SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF_NAME}
+ # Force the version (dropping the leading v)
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${GITHUB_REF_NAME:1}"
50
python -m build --sdist --wheel ./
51
52
- name: Upload distributions
0 commit comments