From b97bfd9f432e8124ce66aee53264ea7e3293e4c1 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Sat, 28 May 2022 18:36:55 +0300 Subject: [PATCH] Update check.yml --- .github/workflows/check.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8c763e6..fd1f024 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,7 +15,9 @@ jobs: token: ${{ secrets.PAT }} - name: Get the latest version of Lens run: | - git tag | sort -V | tail -1 > version + git clone https://github.com/lensapp/lens.git + cd lens + git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7 > version export LENS_VERSION=$(cat version) echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV - name: Add & Commit