diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 896be3f..0e8e8e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,11 @@ 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