Skip to content

Commit 32059be

Browse files
Fix release workflow uploading .gitignore as asset
The `dist/*` glob pattern matched the `.gitignore` file in the dist/ directory, which GitHub API renamed to `default.gitignore` when uploading as a release asset. Use explicit file patterns (*.whl and *.tar.gz) to only upload actual build artifacts. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 52dfba6 commit 32059be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@ jobs:
3333
- name: Release
3434
uses: softprops/action-gh-release@v2
3535
with:
36-
files: dist/*
36+
files: |
37+
dist/*.whl
38+
dist/*.tar.gz
3739
generate_release_notes: true

0 commit comments

Comments
 (0)