From 22b7f4e25212ded7d4b91ffe78a015bf65548204 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Tue, 20 Sep 2022 22:07:37 +0300 Subject: [PATCH] Skip prerelease tags Skip prerelease tags and only build for release tags --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 20cb788..0cfc74b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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