Skip to content

Move the publication onto main and narrow its cascade - #141

Merged
yurkimus merged 4 commits into
mainfrom
publication-cascade
Sep 7, 2026
Merged

yurkimus merged 4 commits into
mainfrom
publication-cascade

Conversation

@yurkimus

@yurkimus yurkimus commented Sep 7, 2026

Copy link
Copy Markdown
Member

The default branch is renamed from aquamarine to main, so both workflow triggers and the publish checkout follow it, and the package publishes to the latest dist-tag instead of aquamarine. The updates job now dispatches to url alone rather than a matrix of three, with the gh flags spelled out. The test workflow is renamed to codegen after what it actually does: it regenerates source/codegen/autogenerated.js through prepublishOnly and formats it, so it only fails when the generator itself throws.

The updates matrix dispatched publish to url, contracts and translations, and contracts carried the chain on to forms. Only url stays in the matrix, so contracts, translations and forms now publish by manual dispatch.
The workflow runs no tests: it regenerates source/codegen/autogenerated.js through prepublishOnly and formats it, so it only fails when the generator itself throws. The file, the workflow name and the job are now named after what they do.
A matrix of one repository bought nothing, so the job dispatches to url directly and fail-fast goes with it. The gh flags are spelled out on the way: -R is --repo, and -f is --raw-field, not the --field it reads as, which would send a JSON boolean where the receiving workflow expects the string its own type declaration converts.
The default branch is renamed from aquamarine to main, so both triggers and the publish checkout follow it. The package now publishes to the latest dist-tag, which had been left behind on the 0.6 line while the aquamarine tag carried every release since.
@yurkimus yurkimus self-assigned this Sep 7, 2026
@yurkimus
yurkimus merged commit 646d1f9 into main Sep 7, 2026
4 checks passed
@yurkimus
yurkimus deleted the publication-cascade branch September 7, 2026 13:50
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.

1 participant