Ultimate

X_RELEASE_VERSION_INVALID

Means

scripts/release.ts was asked for a version that does not move forward, or for two at once

Typical cause

--version at or below the version this repo is already at — npm holds it, or one above it, so the publish dies E403 after the tag and the Release exist — or --version and --bump together, where --bump used to be dropped without a word

Fix

bun run scripts/release.ts --bump patch --dry-run --json (or --bump minor, --bump major); the cause names the current and the requested version

Listed under CLI and verify

This page as markdown