diff --git a/source/isaaclab/config/extension.toml b/source/isaaclab/config/extension.toml index 24d3151cda98..1d45bce0e5cd 100644 --- a/source/isaaclab/config/extension.toml +++ b/source/isaaclab/config/extension.toml @@ -1,7 +1,7 @@ [package] # Note: Semantic Versioning is used: https://semver.org/ -version = "4.5.26" +version = "4.5.27" # Description title = "Isaac Lab framework for Robot Learning" diff --git a/source/isaaclab/docs/CHANGELOG.rst b/source/isaaclab/docs/CHANGELOG.rst index 5a98e8b997ba..b0838fc98c8d 100644 --- a/source/isaaclab/docs/CHANGELOG.rst +++ b/source/isaaclab/docs/CHANGELOG.rst @@ -1,6 +1,16 @@ Changelog --------- +4.5.27 (2026-04-08) +~~~~~~~~~~~~~~~~~~~ + +Added +^^^^^ + +* Added release version to + :class:`~isaaclab.test.benchmark.recorders.VersionInfoRecorder` output. + + 4.5.26 (2026-04-08) ~~~~~~~~~~~~~~~~~~~ diff --git a/source/isaaclab/isaaclab/test/benchmark/recorders/record_version_info.py b/source/isaaclab/isaaclab/test/benchmark/recorders/record_version_info.py index d297dffbb86d..a4396371b3d3 100644 --- a/source/isaaclab/isaaclab/test/benchmark/recorders/record_version_info.py +++ b/source/isaaclab/isaaclab/test/benchmark/recorders/record_version_info.py @@ -10,6 +10,9 @@ from isaaclab.test.benchmark.interfaces import MeasurementData, MeasurementDataRecorder from isaaclab.test.benchmark.measurements import DictMetadata, StringMetadata +# Path to the repository root. +_REPO_ROOT = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), *[".."] * 6)) + class VersionInfoRecorder(MeasurementDataRecorder): def __init__(self): @@ -96,6 +99,14 @@ def _get_version_info(self) -> None: self._record("cuda_bindings", self._get_pkg_version("cuda-bindings")) self._record("usd_core", self._get_pkg_version("usd-core")) + # Release version from root VERSION file + version_file = os.path.join(_REPO_ROOT, "VERSION") + try: + with open(version_file) as f: + self._record("isaaclab_release", f.read().strip()) + except Exception: + pass + def _get_git_info(self) -> None: """Get git repository information.""" script_dir = os.path.dirname(os.path.abspath(__file__))