From 75da086c5959268b6d62c724de3cb651d565628d Mon Sep 17 00:00:00 2001 From: ahgraber Date: Tue, 24 Oct 2023 13:37:49 -0400 Subject: [PATCH] fix: mlflow version detection for CI tagging --- .github/workflows/1-runner.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/1-runner.yaml b/.github/workflows/1-runner.yaml index f87c308..20c934f 100644 --- a/.github/workflows/1-runner.yaml +++ b/.github/workflows/1-runner.yaml @@ -42,7 +42,7 @@ jobs: shell: bash run: | # extract mlflow version from requirements.txt - VERSION="$(grep 'mlflow==' docker/requirements.txt | xargs | sed s'|mlflow==||g' | sed s'|[[:space:]]||g')" + VERSION="$(grep 'mlflow' docker/requirements.txt | xargs | sed s'|^.*==||g' | sed s'|[[:space:]]||g')" # ------------------------------------------------------------------ echo "VERSION: ${VERSION}" # ------------------------------------------------------------------