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 74e307e commit 776d1a4Copy full SHA for 776d1a4
.github/workflows/publish.yaml
@@ -36,8 +36,7 @@ jobs:
36
- name: Setup and build
37
run: |
38
python -m pip install pdm
39
- version=$(echo $GITHUB_REF | cut -d / -f 3)
40
- sed -i "s/version = .*/version = \"$version\"/g" pyproject.toml
+ export PDM_BUILD_SCM_VERSION=${GITHUB_REF}
41
pdm build
42
43
- name: Publish distribution to PyPI
0 commit comments