Fix latest version check

This commit is contained in:
Jan-Otto Kröpke 2022-09-20 17:53:18 +02:00 committed by GitHub
parent 6bf0a3daab
commit b2246291c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -15,10 +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
export LENS_VERSION=$(cat version)
export LENS_VERSION=$(curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]')
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
- name: Add & Commit
uses: EndBug/add-and-commit@v9.0.0