X_RELEASE_VERSION_UNSTATED
Means
a release was asked for and neither --version nor --bump was given
Typical cause
the absent case is a refusal, not a patch bump. It used to default to patch, so a typo'd flag name still produced a release of some version
Fix
bun run scripts/release.ts --bump patch --dry-run --json, or --version <x.y.z> — the cause names the version this repo is currently at