Skip to content

Commit 548d18f

Browse files
Copilotdbanty
andcommitted
Add --exclude-pre-releases flag to prevent prerelease versions
Co-authored-by: dbanty <43723790+dbanty@users.noreply.github.com>
1 parent 82fef89 commit 548d18f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [[ -n "${VERSION}" ]]; then
1818
TAG="knope/${TAG}"
1919
fi
2020
else # If the tag is empty, get the latest release
21-
TAG=$(gh release list --json tagName --jq '.[].tagName' --repo "knope-dev/knope" | grep knope | head -n 1)
21+
TAG=$(gh release list --exclude-pre-releases --json tagName --jq '.[].tagName' --repo "knope-dev/knope" | grep knope | head -n 1)
2222
fi
2323

2424
# Use the GitHub CLI to download

0 commit comments

Comments
 (0)