feat(cli): add ferrflow publish to run publishers without releasing#581
Merged
Conversation
There was a problem hiding this comment.
Benchmark
Details
| Benchmark suite | Current: 840dc68 | Previous: 0b5fe57 | Ratio |
|---|---|---|---|
full_check_flow/100_commits |
8376944 ns/iter (± 40750) |
||
full_check_flow/1000_commits |
80653517 ns/iter (± 376971) |
This comment was automatically generated by workflow using github-action-benchmark.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@
What
Adds a standalone
ferrflow publish [PACKAGE]command that runs the configured publishers for each packages currently-released version — without bumping, committing, or tagging. Also exposes it through the GitHub Action asmode: publish.Why
Publishers from #571 otherwise only run inside
ferrflow releases job, which is often minimal (checkout + binary). Publishers that need a build toolchain or registry auth — docker buildx, helm, a built npmdist/— cant run there.ferrflow publishlets a separate tag-triggered CI job, with buildx/helm/login already set up, run the publishers. This unblocks dogfooding the docker/helm/npm publishers (FerrVault operator, UI).How it works
versionedFiles(or the latest matching tag for tag-only packages, schema:versionedFilesis optional in schema but required to release (tag-only packages skipped) #531), derives the tag, builds aPublishContext, and runs the publishers.--dry-run.publishers::run_all, now shared by the release post-publish phase and the new command (no duplicated dispatch).Verification
ferrflow --dry-run publishreads all 10 crates versions and previews each cargo publisher.Docs (CLI reference) ship in a FerrFlow-Cloud PR.
Closes #580
@