Skip to content

Release pending

release pending - Check if module has pending changes for release

Analyzes commits since the last release and outputs release decision data.

This command checks the git history and changelog to determine if there are unreleased changes that warrant a new version.

Output includes: - has_changes: whether there are releasable changes - current_version: the current released version - next_version: the calculated next version - change_counts: breakdown by change type (added, fixed, changed, etc.)

This is designed for CI/CD pipelines to determine if a release is needed.

Flags

Flag Description
--quiet Suppress output, use exit code only (0=has changes, 1=no changes)
--all Check all modules with changelogs

Notes

Expected Output:

  • JSON object containing:
  • has_changes: boolean indicating if there are releasable changes
  • current_version: the current released version
  • next_version: the calculated next version
  • change_counts: breakdown by change type (added, fixed, changed, etc.)

Examples

release pending r2r-cli           # Check r2r-cli for pending changes
release pending r2r-cli --quiet   # Exit code only (0=changes, 1=no changes)
release pending --all             # Check all releasable modules

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.