From 7be0d237e0e88e65be9015c65e4f0fc67d2d9aad Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Thu, 13 Jun 2024 15:24:21 -0700 Subject: releng: fix git checking Change-Id: I82ddd918311b48e596adb807b81221973113fe7a --- releng/gitutils.xsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releng/gitutils.xsh b/releng/gitutils.xsh index 3352a6b21..e18b4da5f 100644 --- a/releng/gitutils.xsh +++ b/releng/gitutils.xsh @@ -1,6 +1,8 @@ import subprocess import json +from .version import VERSION + def version_compare(v1: str, v2: str): return json.loads($(nix-instantiate --eval --json --argstr v1 @(v1) --argstr v2 @(v2) --expr '{v1, v2}: builtins.compareVersions v1 v2')) -- cgit v1.2.3