Skip to content

fix(ci): release-plz determines releases from git tags (git_only) + cut v0.1.6#61

Merged
JonathanTurnock merged 2 commits into
mainfrom
fix/release-plz-git-only
Jun 10, 2026
Merged

fix(ci): release-plz determines releases from git tags (git_only) + cut v0.1.6#61
JonathanTurnock merged 2 commits into
mainfrom
fix/release-plz-git-only

Conversation

@JonathanTurnock

Copy link
Copy Markdown
Collaborator

release-plz never bumped versions because, with nothing on crates.io, it consulted the registry, found nothing, and proposed the current version forever — every release needed a manual bump PR (#29, #31, #33, #47, #60). This makes the automation self-sufficient:

  • release-plz.toml: git_only = true on the pseudoscript package — the last release is resolved from the v* tags instead of the registry.
  • Dep version requirements: git_only's next-version step runs cargo package, which rejects versionless path deps. All 34 internal path deps gain version = "0.1.6"; resolution is unchanged (path wins inside the workspace) and release-plz bumps the requirements on release.
  • build.rs / main.rs: the cargo package verify build compiles from a tarball without the repo-level LANG.md/CONFORMANCE//SKILL.md. The skill is now staged into OUT_DIR by build.rs like the lang bundle, and both fall back to a stub outside the repo (the crate is never published, so only throwaway verify builds hit the stub).
  • chore: release v0.1.6: the content diff packages the latest tag's tree, and v0.1.5 predates the dep version requirements — the automation only heals once a tag containing this fix exists. Merging this PR cuts v0.1.6 via the existing pipeline; from then on release-plz proposes bumps itself.

Validated locally with release-plz 0.3.159 (the version the action installs):

  • release-plz update against a tag containing the fix: packages cleanly, proposes no release for zero commits since the tag, and proposes a real bump (Cargo.toml 0.1.5 → 0.1.6 + changelogs + lock) for a fix: commit after it.
  • release-plz release --dry-run in exactly this merge state: would create tag v0.1.6 + the GitHub release; library crates correctly report "no release method enabled".

pds lang and pds skill verified to still print the real bundle/skill from repo builds; fmt/clippy/tests/model-conformance green.

🤖 Generated with Claude Code

JonathanTurnock and others added 2 commits June 10, 2026 15:31
…rsion reqs

Without git_only, release-plz consults the cargo registry; pds is never
published, so every version looked perpetually unreleased and release-pr
proposed the current version forever instead of bumping (hence the manual
bump PRs #29/#31/#33/#47/#60). git_only resolves the last release from the
v* tags. The internal path deps gain version requirements because git_only
mode runs cargo package, which rejects versionless path deps; resolution
is unchanged (path wins inside the workspace) and release-plz bumps the
requirements on release.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The git_only content diff packages the latest tag's tree; v0.1.5 predates
the dep version requirements, so the automation only heals once this tag
exists. From v0.1.6 on, release-plz proposes version bumps itself.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pseudoscript-landing with  Cloudflare Pages  Cloudflare Pages

Latest commit: cc6efd7
Status: ✅  Deploy successful!
Preview URL: https://7130cfc7.pseudoscript-landing.pages.dev
Branch Preview URL: https://fix-release-plz-git-only.pseudoscript-landing.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying pseudoscript-ide with  Cloudflare Pages  Cloudflare Pages

Latest commit: cc6efd7
Status: ✅  Deploy successful!
Preview URL: https://8b7be99a.pseudoscript-ide.pages.dev
Branch Preview URL: https://fix-release-plz-git-only.pseudoscript-ide.pages.dev

View logs

@JonathanTurnock JonathanTurnock merged commit 8c390e8 into main Jun 10, 2026
5 checks passed
@JonathanTurnock JonathanTurnock deleted the fix/release-plz-git-only branch June 10, 2026 15:13
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