Skip to content

Commit 22b7f4e

Browse files
Skip prerelease tags
Skip prerelease tags and only build for release tags
1 parent e0de333 commit 22b7f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
token: ${{ secrets.PAT }}
1616
- name: Get the latest version of Lens
1717
run: |
18-
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]' > version
18+
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .tag_name[1:]' > version
1919
export LENS_VERSION=$(cat version)
2020
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
2121
- name: Add & Commit

0 commit comments

Comments
 (0)