Skip to content

A release push also publishes its dev build, so dev never falls behind latest - #242

Closed
wmadden-electric wants to merge 1 commit into
mainfrom
claude/dev-tag-parity
Closed

A release push also publishes its dev build, so dev never falls behind latest#242
wmadden-electric wants to merge 1 commit into
mainfrom
claude/dev-tag-parity

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

The dev dist-tag lagged latest after every release: 0.7.0 left it at 0.6.0-dev.23, and 0.8.0 left it there again — where it blocked prisma-cli's 8.0.0-rc.5 release publish (dev-channel conformance refused the stale engine peer) until an unrelated commit forced a dev build out. This is the fix from prisma-cli's dev-tag-parity brief (prisma-cli#194).

  • determine-version.ts emits a devVersion output, non-empty only on release pushes (computed with the tested nextDevVersion; simulated release push emits version=0.8.0 tag=latest devVersion=0.8.0-dev.2, simulated dev push emits an empty devVersion).
  • publish.yml gains four steps after the release steps, keyed on that output: re-stamp with the dev version, rebuild, re-run check:publish-deps, publish under --tag dev.
  • Dev pushes and workflow_dispatch are unchanged; actionlint passes.

Invariant delivered: every push to main leaves dev pointing at a build of that same commit.

🤖 Generated with Claude Code

…d latest

The dev dist-tag lagged latest after every release (0.7.0 left dev at
0.6.0-dev.23; 0.8.0 left it there too), and the stale tag blocked
prisma-cli's 8.0.0-rc.5 release publish on 2026-08-18. determine-version
now emits a devVersion output on release pushes, and the workflow
re-stamps, rebuilds, re-checks publish specifiers and publishes that
build under the dev tag after the release steps. Dev pushes and
dispatches are unchanged.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: dfcf7a94-227f-4747-8424-882aee8cb9dc


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wmadden-electric

Copy link
Copy Markdown
Contributor Author

Superseded: #241 landed the same dev-tag-parity fix (devVersion output on release pushes + the dev follow-up publish steps) while this was in review. Closing; nothing here is lost.

@wmadden-electric
wmadden-electric deleted the claude/dev-tag-parity branch August 18, 2026 12:58
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