Skip to content

ci(deploy): 🚀 upload wheels and sdist as GitHub release assets - #176

Open
robertodr with Copilot wants to merge 5 commits into
mainfrom
copilot/update-github-releases-assets
Open

ci(deploy): 🚀 upload wheels and sdist as GitHub release assets#176
robertodr with Copilot wants to merge 5 commits into
mainfrom
copilot/update-github-releases-assets

Conversation

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown

🤖 AI text below 🤖

GitHub releases currently only expose auto-generated source archives (zip/tar.gz of the tree), which are not useful for a compiled extension library. The built wheels and sdist should be directly available as release assets.

Changes

  • deploy.yml — adds a new upload_release_assets job that:
    • Triggers on release: published (same condition as upload_pypi)
    • Downloads all cibw-* artifacts (wheels + sdist) produced by the existing build jobs
    • Attaches them to the GitHub release via gh release upload --clobber
    • Uses minimal contents: write permission with the built-in GITHUB_TOKEN

The job is independent of upload_pypi so a PyPI failure won't block asset upload and vice versa.

Co-authored-by: robertodr <3708689+robertodr@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub releases to include wheels and sdist as assets ci(deploy): 🚀 upload wheels and sdist as GitHub release assets Jul 31, 2026
Copilot AI requested a review from robertodr July 31, 2026 11:23
@robertodr
robertodr marked this pull request as ready for review July 31, 2026 11:24
@github-actions

Copy link
Copy Markdown

Docs preview: https://pr-176.monoprop-docs.pages.dev

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.61%. Comparing base (538ed84) to head (cdc8ab9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #176   +/-   ##
=======================================
  Coverage   87.61%   87.61%           
=======================================
  Files          59       59           
  Lines        4239     4239           
  Branches     1497     1497           
=======================================
  Hits         3714     3714           
  Misses        163      163           
  Partials      362      362           
Flag Coverage Δ
cpp 86.08% <ø> (ø)
python 95.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

This comment was marked as outdated.

robertodr and others added 2 commits July 31, 2026 15:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Roberto Di Remigio Eikås <robertodr@users.noreply.github.com>
@robertodr
robertodr enabled auto-merge (squash) July 31, 2026 13:42
Signed-off-by: Roberto Di Remigio Eikås <robertodr@users.noreply.github.com>
@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Github releases should have wheels and sdist as assets, instead of zip/tar.gz of the source tree

3 participants