From 5fe03cc5c7e545f47bc32e8b93061ce4091b13a1 Mon Sep 17 00:00:00 2001 From: Michael Adkins Date: Thu, 22 Sep 2022 14:32:59 -0500 Subject: [PATCH] Only include 1.x tags during Helm core version pin --- .github/workflows/helm-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/helm-release.yml b/.github/workflows/helm-release.yml index 44dd4a2c..343de8b4 100644 --- a/.github/workflows/helm-release.yml +++ b/.github/workflows/helm-release.yml @@ -23,7 +23,7 @@ jobs: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) echo ::set-output name=CORE_VERSION::$(\ git ls-remote --tags --refs --sort="v:refname" \ - https://github.com/PrefectHQ/prefect.git | tail -n1 | sed 's/.*\///' \ + https://github.com/PrefectHQ/prefect.git | grep "tags/1." | tail -n1 | sed 's/.*\///' \ ) echo ::set-output name=UI_VERSION::$(\ git ls-remote --tags --refs --sort="v:refname" \