Skip to content

ci: automate releases with Release Please - #2

Merged
roncohen merged 2 commits into
mainfrom
ci/release-please
Nov 16, 2026
Merged

roncohen merged 2 commits into
mainfrom
ci/release-please

Conversation

@roncohen

@roncohen roncohen commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Mirror the .NET SDK release-token-backed Release Please PR → GitHub Release → registry publication flow.
  • The next release is stable 0.1.0, not another RC. Disable prerelease output while retaining the strategy that promotes the recorded RC1 directly to 0.1.0. No sticky release-as pin; subsequent stable fix/feature bumps remain normal.
  • Automate version/changelog/manifest updates; preserve canonical PEP 440 build/runtime versions. README uses pip install reflag with no preview wording.
  • Publish exact main-history tags through the existing isolated PyPI OIDC publisher. Manual tagged build-only/upload recovery remains available.
  • Current manifest/source still record published RC1 until Release Please generates the 0.1.0 release PR. This setup PR does not publish a version.

Required setup before merge

  • Configure repository Actions secret RELEASE_PLEASE_TOKEN, as in .NET. Its token must cover this repository with contents, pull requests and issues write access. No repository or inherited organization secret currently supplies it.
  • PyPI environment allows main and v* tags; publisher coordinates are unchanged.
  • Historical v0.1.0-rc.1 points to verified published source 8c667bd; no new GitHub Release or PyPI package was created.

Validation

  • 1,812 tests passed, 10 skipped, plus lint/formatting, strict typing and actionlint.
  • Actual pinned Release Please 17.3.0 engine/schema previews promote fix/feature/breaking candidates from RC1 to stable 0.1.0, with prerelease=false. Subsequent fix → 0.1.1 and feature/breaking → 0.2.0 were checked; no version is permanently pinned.
  • Its generated stable 0.1.0 tree passes the full 1,812-test suite, source/wheel build, installed-wheel typing/lifecycle, tag-version and strict Twine checks on Python 3.14. Stable artifacts are local-only.
  • Exact workflow Git guard accepts matching main-history tags and rejects wrong checkout, unrelated history, absent tags and invalid refs.
  • All seven jobs pass for this stable-target commit in both push CI 43912033280 and PR CI 43912042356: 1,812 passed, 10 skipped each, on Linux 3.11–3.15 and Windows/macOS 3.15.

Copilot AI balanced review requested due to automatic review settings November 16, 2026 16:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Risk: high

no actionable findings

Copilot AI balanced review requested due to automatic review settings November 16, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Risk: high

no actionable findings

@roncohen
roncohen merged commit 9f8cddb into main Nov 16, 2026
15 of 16 checks passed
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.

2 participants