rlsbl.commands.pre_push_check

Pre-push-check command: verify CHANGELOG.md has an entry for the current version.

Functions

_detect_version

def _detect_version()

Detect version using registry adapters.

Returns (version_string, registry_name) or (None, None) if undetectable.

run_cmd

def run_cmd(registry, args, flags)

Check that CHANGELOG.md has an entry for the current project version.

Exits 1 if no changelog entry is found; exits 0 silently on success.