We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca4e2ab + ea7d09a commit 0194b34Copy full SHA for 0194b34
1 file changed
.github/workflows/release.yml
@@ -45,7 +45,10 @@ jobs:
45
46
- name: Build wheel + sdist
47
working-directory: ${{ matrix.package.path }}
48
- run: uv run python -m build
+ run: |
49
+ # Force hatch-vcs / setuptools_scm to use the tag version, not dirty-tree dev version
50
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${GITHUB_REF_NAME#v}"
51
+ uv run python -m build
52
53
- name: Upload dist artifact
54
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
0 commit comments