Skip to content

Conversation

@pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Nov 4, 2025

  1. Improve the produce-package.sh script for wheel building
  • add -h, --help option to show usage information
  • add -c, --commit=COMMIT option for building from sources
    at COMMIT instead of HEAD
  • respect SOURCE_DATE_EPOCH if available as environment variable.
    Otherwise get it from the commit time of the sources.
  • do not purge temporary files if script exits with an error
  1. Update the release-main workflow to skip release if identical to the last one

- add -h, --help option to show usage information

- add -c, --commit=COMMIT option for building from sources
  at COMMIT instead of at HEAD

- respect SOURCE_DATE_EPOCH if available as environment variable.
  Otherwise get it from the commit time of the sources.

- do not purge temporary files if script exits with an error
@github-actions github-actions bot added the size: M 50< lines changed <250 label Nov 4, 2025
@pavoljuhas
Copy link
Collaborator Author

Here are examples of the pre-release workflow when the distribution content is:

@pavoljuhas pavoljuhas marked this pull request as ready for review November 4, 2025 23:33
@pavoljuhas pavoljuhas requested review from a team and vtomole as code owners November 4, 2025 23:33
@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.38%. Comparing base (21ee064) to head (098bca4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7737   +/-   ##
=======================================
  Coverage   99.38%   99.38%           
=======================================
  Files        1091     1091           
  Lines       97912    97912           
=======================================
  Hits        97306    97306           
  Misses        606      606           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@mhucka mhucka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of nits, at your discretion to do or leave.

Co-authored-by: Michael Hucka <mhucka@google.com>
@pavoljuhas pavoljuhas enabled auto-merge November 6, 2025 01:42
@pavoljuhas pavoljuhas added this pull request to the merge queue Nov 6, 2025
Merged via the queue into quantumlib:main with commit 4cbe88d Nov 6, 2025
35 checks passed
@pavoljuhas pavoljuhas deleted the skip-duplicate-dev-release branch November 6, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants