Skip to content

Commit 85fc5f3

Browse files
committed
Fix Github Release
1 parent 0b8ef09 commit 85fc5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/local/sbin/eeupdate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ RESTARTSERVICE()
227227

228228
# Update EasyEngine (ee)
229229
EECURRENTVERSION=$(ee version | awk '{print($3)}')
230-
EELATESTVERSION=$(curl -sL https://api.github.com/repos/rtCamp/easyengine/releases | grep tag_name | awk '{print($2)}' | cut -d'"' -f2 | cut -c2-)
230+
EELATESTVERSION=$(curl -sL https://api.github.com/repos/rtCamp/easyengine/releases | grep tag_name | awk '{print($2)}' | cut -d'"' -f2 | cut -c2- | head -n1)
231231
echo EECURRENTVERSION = $EECURRENTVERSION EELATESTVERSION = $EELATESTVERSION &>> $INSTALLLOG
232232

233233
if [[ $EECURRENTVERSION < $EELATESTVERSION ]]

0 commit comments

Comments
 (0)