Release get-version
release get-version - Extract latest version from changelog
Reads the CHANGELOG.md file for a module and outputs the latest version.
This command is designed for use in CI/CD pipelines where the changelog is the source of truth for versioning.
Flags
| Flag | Description |
|---|---|
--tag |
Output as git tag format (module/version) |
--json |
Output in JSON format |
--path |
Override changelog path (default: release/ |
Notes
Expected Output:
- Version string (e.g., 0.0.14) by default
- Tag format (e.g., r2r-cli/0.0.14) if --tag flag is specified
Examples
release get-version r2r-cli # Output: 0.0.14
release get-version docs # Output: 2025.12.01
release get-version r2r-cli --tag # Output: r2r-cli/0.0.14
release get-version r2r-cli --json # Output JSON format
See Also
Tutorials | How-to Guides | Explanation | Reference
You are here: Reference — information-oriented technical descriptions of the system.