diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e8e8e1..896be3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,11 +29,6 @@ jobs: - name: Build package run: | poetry build - # Rename files to remove local identifier - for f in dist/*; do - new_name=$(echo "$f" | sed 's/\(.*\)+[^-]*\(-py3.*\.whl\|\.tar\.gz\)/\1\2/') - mv "$f" "$new_name" - done ls -la dist/ - name: Upload distributions diff --git a/pyproject.toml b/pyproject.toml index 0861cc6..7bc6db9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,4 +65,4 @@ ignore_missing_imports = true enable = true vcs = "git" pattern = "default-unprefixed" -style = "pep440" +format = "{base}.post{distance}"