Skip to content

Commit 04d100f

Browse files
committed
Remove hardcoded value
1 parent 7d2bb52 commit 04d100f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/update

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ function ee_lib_git()
5757
# EasyEngine version: 1.0.0
5858
# EasyEngine (ee) version: 2.0.0
5959
EE_CURRENT_VERSION=$(ee version | sed 's/(ee) //' | awk '{print $3}')
60-
EE_LATEST_VERSION=2.0.0
61-
#EE_LATEST_VERSION=$(curl -sL https://api.github.com/repos/rtCamp/easyengine/releases | grep tag_name | awk '{print($2)}' | cut -d'"' -f2 | cut -c2- | head -n1)
60+
EE_LATEST_VERSION=$(curl -sL https://api.github.com/repos/rtCamp/easyengine/releases | grep tag_name | awk '{print($2)}' | cut -d'"' -f2 | cut -c2- | head -n1)
6261
echo EE_CURRENT_VERSION = $EE_CURRENT_VERSION EE_LATEST_VERSION = $EE_LATEST_VERSION &>> $EE_UPDATE_LOG
6362

6463
if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then

0 commit comments

Comments
 (0)