MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _print_env

Function _print_env

tasks/scripts/release.py:154–164  ·  view source on GitHub ↗
(versions: Versions)

Source from the content-addressed store, hash-verified

152
153
154def _print_env(versions: Versions) -> None:
155 print(f"VERSION_PY={versions.python}")
156 print(f"VERSION_CARGO={versions.cargo}")
157 print(f"VERSION_DOCKER={versions.docker}")
158 print(f"VERSION_DEB={versions.deb}")
159 print(f"VERSION_SNAP={versions.snap}")
160 print(f"VERSION_RPM={versions.rpm_version}")
161 print(f"VERSION_RPM_RELEASE={versions.rpm_release}")
162 print(f"GIT_TAG={versions.git_tag}")
163 print(f"GIT_SHA={versions.git_sha}")
164 print(f"GIT_DISTANCE={versions.git_distance}")
165
166
167def get_version(format: str) -> None:

Callers 1

get_versionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected