ci(release): build distributions without local version identifier

This commit is contained in:
Sigurd Spieckermann 2025-04-25 12:30:39 +02:00 committed by Sigurd Spieckermann
parent f82a0a5194
commit b85893d43e

View File

@ -24,6 +24,12 @@ jobs:
with:
version: ${{ env.UV_VERSION }}
# See https://peps.python.org/pep-0440/#local-version-identifiers
- name: Omit local version for publishing to test.pypi.org
run: >
echo SETUPTOOLS_SCM_OVERRIDES_FOR_COPIER='{local_scheme="no-local-version"}'
>> $GITHUB_ENV
- name: Build project for distribution
run: uv build