Skip to content

Commit

Permalink
Fix latest version check
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored Sep 20, 2022
1 parent 6bf0a3d commit b224629
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit b224629

Please sign in to comment.