Skip to content

Commit

Permalink
Merge pull request #7 from micovery/main
Browse files Browse the repository at this point in the history
bug: fix logic to pick latest release
  • Loading branch information
micovery authored May 2, 2024
2 parents 37fd642 + 271dcc5 commit 97f311b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ sortSemver() {
pickLatestRelease() {
local first=""
while read version; do
first="${version}"
if [[ -z "${first}" ]] ; then
first="${version}"
fi
if [[ "${version}" != *"-"* ]] ; then
echo "${version}"
return
Expand Down

0 comments on commit 97f311b

Please sign in to comment.