Update check.yml

This commit is contained in:
Muhammed Kalkan 2022-05-28 18:36:55 +03:00 committed by GitHub
parent 904de30ce5
commit b97bfd9f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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