ci: add pre-release workflow for per-PR dev builds#273
ci: add pre-release workflow for per-PR dev builds#273cloudsmith-iduffy wants to merge 1 commit intomasterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to produce per-PR pre-release (dev) builds of the CLI and publish them to Cloudsmith for manual testing, triggered via a pre-release label or /pre-release PR comment.
Changes:
- Introduces a new
Pre-releaseGitHub Actions workflow triggered by PR label or slash-command comment. - Checks out the PR head SHA, sets a
.dev{pr}{epoch}version, builds sdist/wheel, and publishes them to Cloudsmith. - Posts install instructions back to the PR and removes the
pre-releaselabel after label-triggered runs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fbd24f1 to
80b318e
Compare
Add a GitHub Actions workflow that builds and publishes pre-release packages to Cloudsmith for manual testing on a per-PR basis. Trigger by either: - Adding the 'pre-release' label to a PR - Commenting '/pre-release' on a PR (collaborators only) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
80b318e to
36ca1c8
Compare
|
Is there much benefit to this over just installing directly from the git branch with e.g. The new workflow here only builds an sdist and a wheel, so there's no testing the zipapp flow (which is the tricky one), and there's some inherent risk with making actions like this available in a public repo (even if we try to be safe). If we're going to do a pre-release flow in the repo I think I'd rather see "real" pre-releases pushed to PyPI on merge to main, and then we can choose to manually cut a release when we're happy later. |
|
Sounds good paddy! |
Description
Add a GitHub Actions workflow that builds and publishes pre-release packages to Cloudsmith for manual testing on a per-PR basis.
Triggered by either:
Type of Change
Additional Notes
The idea here is to allow us to generate releases to test out the functionality in various different environments.