Skip to content

fix(release): bump inter-crate version pins during release#55

Merged
aleksUIX merged 1 commit into
mainfrom
fix/release-bump-interdep
Jun 19, 2026
Merged

fix(release): bump inter-crate version pins during release#55
aleksUIX merged 1 commit into
mainfrom
fix/release-bump-interdep

Conversation

@aleksUIX

Copy link
Copy Markdown
Owner

Problem

The v0.6.0 release run failed on all 8 build-cli targets:

error: failed to select a version for the requirement `vastlint-core = "^0.5.0"`
candidate versions found which didn't match: 0.6.0
required by package `vastlint-cli v0.6.0`

The Bump crate versions to match git tag steps rewrote each crate's own [package] version = from the tag, but not the inter-crate path-dependency pins. vastlint-cli, -mcp, and -wasm declare vastlint-core = { path = "...", version = "0.5.0" } (the version is required so cargo publish can resolve it on crates.io). Bumping core to 0.6.0 left those pins at ^0.5.0, which excludes 0.6.0, so cargo refused to build.

build-ffi and build-nif passed because they pin vastlint-core by path only (no version).

Fix

Both bump steps now also rewrite the path-dependency version pins to the release version. Path-only deps are untouched. Verified locally against all six crate manifests: package versions and the cli/mcp/wasm core pins go to the new version, ffi/nif stay path-only.

After merge: delete and re-push the v0.6.0 tag (no artifacts were published in the failed run, all publish jobs were skipped).

🤖 Generated with Claude Code

The version bump steps stamped each crate's own [package] version from the
git tag but left inter-crate path-dependency pins untouched. cli, mcp, and
wasm pin vastlint-core = { path, version = "X" } (needed for crates.io
publish), so bumping core to a new minor broke the ^X requirement and failed
every build-cli target with "failed to select a version for vastlint-core".

Extend both bump steps to also rewrite the path-dependency version pins.
Path-only deps (ffi, nif) are left untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@aleksUIX
aleksUIX merged commit 0b67f18 into main Jun 19, 2026
14 checks passed
aleksUIX added a commit that referenced this pull request Jun 20, 2026
The version bump steps stamped each crate's own [package] version from the
git tag but left inter-crate path-dependency pins untouched. cli, mcp, and
wasm pin vastlint-core = { path, version = "X" } (needed for crates.io
publish), so bumping core to a new minor broke the ^X requirement and failed
every build-cli target with "failed to select a version for vastlint-core".

Extend both bump steps to also rewrite the path-dependency version pins.
Path-only deps (ffi, nif) are left untouched.
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