Repository navigation
Description
Core's cascade.yml dispatches core-release for any tag matching v[0-9]*.[0-9]*.[0-9]*, so tagging v3.0.0-alpha in core triggers this repo's release.yml. As written, it would not produce a correct 3.0.0-alpha package.
minigraf-java already selects a maintenance branch, but only for v<major>.x:
- Branch selection. For
3.0.0-alpha,MAJOR=3, so it looks forv3.x. There is none, so it falls through tomain.mainpins=2.0.2(PINNED=2, which is not greater than 3), so today it releases frommain, the 2.x code. After the move (done before the alpha tag, release: move v3 to main and main to v2.x at the 3.0.0-alpha minigraf#937) there is still nov3.x, so a 3.x dispatch falls through tomain, which is then the renamedv3: correct. A 2.x dispatch picks the existingv2.x: correct. Check thePINNEDcomparison againstmain's git/rev pin (PINNEDis empty for a git dependency) and replace the stale 2.0.2mainrather than renaming it overv2.x. -
mainpinsminigraf = "=2.0.2"whilev2.x(where 2.x releases are cut) pins=2.0.12. That is harmless today but confusing; updatemainor note why it's stale. - The
v3pin is353bd58be(#924 merge), notb6245cc2clike the other bindings (#925 was browser-only, so no functional gap). Re-pin with the alpha. - The Maven version
3.0.0-alphais fine. Check thatverify-published.ymlresolves it, and that the Kotlin package rename (io.github.project_minigraf.minigraf) is in the release notes. - The pin step doesn't match
v3's dependency line.sed -i 's/^minigraf = "[^"]*"/…/'expectsminigraf = "…"; onv3the line isminigraf = { git = "…", rev = "…" }, so the release would keep the git dependency.
Decided in project-minigraf/minigraf#928 (2026-11-30): the version is 3.0.0-alpha; later prereleases are -beta, -rc1, -rc2, … (PyPI 3.0.0a0, 3.0.0b0, 3.0.0rc1). The alpha is the first v3 release and triggers the branch move (project-minigraf/minigraf#937), with v2.x as the maintenance branch. Every binding, Tier 2 included, publishes the alpha in lock-step with core (#928, docs in project-minigraf/minigraf#945).
Found during the 3.0.0-alpha readiness check (no release was attempted).
Cutover guard
- Preserve the existing
v2.xand the cross-branch compatibility jobs. Validate a single source/update route in each rehearsal: 2.x →v2.x, 3.x → post-cutovermain; fail closed on unsupported majors or missing intended branches (release: rehearse both binding release lines and verify all seven alpha publications minigraf#960).
Activity
adityamukho commentedon Nov 29, 2026
Also (Codex review, confirmed): the 'no maintenance branch' guard at release.yml:42–53 reads
PINNEDonly from a stringminigraf = "=x.y.z". With a git/rev pin it is empty and the job falls back tomainwithout failing. Map majors to branches explicitly and fail when the required branch is missing. Correction: the stalemainpin (2.0.2) doesn't matter ifmainis replaced at the move, since 2.x releases already come fromv2.x.adityamukho commentedon Nov 30, 2026
Release rehearsal and publication checks for this binding are tracked in project-minigraf/minigraf#960. Its "Before tagging" checklist (7 bindings × the 3.x and 2.x source lines, no writes or publishing, recorded per path) is part of the acceptance criteria for the binding release-workflow mission that fixes this issue.
fix(release): work on Windows and macOS runners for both source lines (…
ci(release): sync the shared release helper (#30)
ci(release): sync the shared release helper (#30)
ci(release): accept only 2.x releases from the default workflow (#30) (…
ci(release): refuse 3.x releases before the branch move (#30) (#32)
fix(release): invoke the Gradle wrapper by a relative path on Windows (…
fix(release): accept an exact Maven Central match without querying th…
Merge pull request #33 from project-minigraf/feat/30-release-routing
adityamukho commentedon Dec 1, 2026
The release workflow changes are merged (#33 on
v3; #31 (v2.x), #32 (main) on the 2.x line). Both source lines passed the pre-move rehearsal (3.x against core candidate38b10383, 2.x against registry2.0.12), andverify-publishedfromv3passed against published 2.0.12: project-minigraf/minigraf#960 (comment)The ticked items are covered by those changes. No publication or recovery path has run on GitHub yet.
Still open here, at publication (project-minigraf/minigraf#929): confirm
verify-publishedresolves3.0.0-alphaand put the Kotlin package rename in the release notes. The stalemainis replaced at project-minigraf/minigraf#937.