Merge pull request #44 from jkroepke/latest-version-check

Fix latest version check
This commit is contained in:
Muhammed Kalkan 2022-09-20 20:29:34 +03:00 committed by GitHub
commit 5b08a7c480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -15,9 +15,7 @@ jobs:
token: ${{ secrets.PAT }}
- name: Get the latest version of Lens
run: |
curl -s https://lens-binaries.s3.amazonaws.com/ide/latest-mac.yml |\
grep -o "version:.*-latest" | grep -oP "(\d+(:?\.\d+)+)" |\
head -n 1 > version
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]' > version
export LENS_VERSION=$(cat version)
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
- name: Add & Commit