Browse Source

Hard code ee_latest_version for testing

old-stable
Mitesh Shah 11 years ago
parent
commit
973d3c7b2b
  1. 3
      bin/eeupdate

3
bin/eeupdate

@ -55,7 +55,8 @@ function ee_lib_git()
# Update EasyEngine (ee)
EE_CURRENT_VERSION=$(ee version | awk '{print($3)}')
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)
EE_LATEST_VERSION=2.0.0
#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)
echo EE_CURRENT_VERSION = $EE_CURRENT_VERSION EE_LATEST_VERSION = $EE_LATEST_VERSION &>> $EE_UPDATE_LOG
if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then

Loading…
Cancel
Save