def run_tool_version_manager(context): ge_tooling.run_tool( context, tool="version-manager", command="version-manager", mount=sources_folder, pwd=current_folder, )
def patch_versions(context: adhesive.Token[Data]) -> None: ge_tooling.run_tool( context, tool="version-manager", command="vm", mount=sources_folder, pwd=current_folder, )
def is_release_version(context): current_version = ge_tooling.run_tool( context, tool="version-manager", command="version-manager --tag", mount=sources_folder, pwd=current_folder, capture_stdout=True, ).strip() context.data.current_version = current_version if ge_git.get_tag_version(current_version): context.data.release_version = True else: context.data.release_version = False
def gbs_run_tool(context) -> None: ge_tooling.run_tool(context, tool="mypy", command="mypy --exclude features/ .")
def run_tool(context) -> str: ge_tooling.run_tool(context, tool="behave", command="behave")