8000 release: publish a 3.0.0-alpha prerelease from the v3 branch · Issue #30 · project-minigraf/minigraf-java · GitHub
[go: up one dir, main page]

Skip to content

release: publish a 3.0.0-alpha prerelease from the v3 branch #30

Backlog

Description

@adityamukho

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 for v3.x. There is none, so it falls through to main. main pins =2.0.2 (PINNED=2, which is not greater than 3), so today it releases from main, 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 no v3.x, so a 3.x dispatch falls through to main, which is then the renamed v3: correct. A 2.x dispatch picks the existing v2.x: correct. Check the PINNED comparison against main's git/rev pin (PINNED is empty for a git dependency) and replace the stale 2.0.2 main rather than renaming it over v2.x.
  • main pins minigraf = "=2.0.2" while v2.x (where 2.x releases are cut) pins =2.0.12. That is harmless today but confusing; update main or note why it's stale.
  • The v3 pin is 353bd58be (#924 merge), not b6245cc2c like the other bindings (#925 was browser-only, so no functional gap). Re-pin with the alpha.
  • The Maven version 3.0.0-alpha is fine. Check that verify-published.yml resolves 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 = "[^"]*"/…/' expects minigraf = "…"; on v3 the line is minigraf = { 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

Activity

  1. adityamukho commented on Nov 29, 2026

    @adityamukho
    ContributorAuthor

    Also (Codex review, confirmed): the 'no maintenance branch' guard at release.yml:42–53 reads PINNED only from a string minigraf = "=x.y.z". With a git/rev pin it is empty and the job falls back to main without failing. Map majors to branches explicitly and fail when the required branch is missing. Correction: the stale main pin (2.0.2) doesn't matter if main is replaced at the move, since 2.x releases already come from v2.x.

  2. adityamukho commented on Nov 30, 2026

    @adityamukho
    ContributorAuthor

    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.

  3. adityamukho commented on Dec 1, 2026

    @adityamukho
    ContributorAuthor

    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 candidate 38b10383, 2.x against registry 2.0.12), and verify-published from v3 passed 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-published resolves 3.0.0-alpha and put the Kotlin package rename in the release notes. The stale main is replaced at project-minigraf/minigraf#937.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0