Skip to content

Commit

Permalink
Skip prerelease tags
Browse files Browse the repository at this point in the history
Skip prerelease tags and only build for release tags
  • Loading branch information
MuhammedKalkan authored Sep 20, 2022
1 parent e0de333 commit 22b7f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
token: ${{ secrets.PAT }}
- name: Get the latest version of Lens
run: |
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]' > version
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .tag_name[1:]' > version
export LENS_VERSION=$(cat version)
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
- name: Add & Commit
Expand Down

0 comments on commit 22b7f4e

Please sign in to comment.