From bf06a0c3b58b3ebf8989374a5d92638b996587f6 Mon Sep 17 00:00:00 2001 From: LennartPurucker Date: Thu, 3 Sep 2026 15:42:40 +0000 Subject: [PATCH] Attach only wheels and sdists to the GitHub Release uv build writes a .gitignore into dist/, and 'files: dist/*' uploaded it to the v0.1.0 release as 'default.gitignore' (removed by hand). Match the distribution files explicitly instead. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bbd1928f..187218b9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,6 +43,9 @@ jobs: - name: Create GitHub release uses: softprops/action-gh-release@v2 with: - files: dist/* + # Only the distributions: `uv build` also writes a `.gitignore` into dist/. + files: | + dist/*.whl + dist/*.tar.gz generate_release_notes: true tag_name: ${{ github.ref_name }}