Skip prerelease tags

Skip prerelease tags and only build for release tags
This commit is contained in:
Muhammed Kalkan 2022-09-20 22:07:37 +03:00 committed by GitHub
parent e0de3334b8
commit 22b7f4e252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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