From: tierno Date: Wed, 23 Aug 2017 14:27:10 +0000 (+0200) Subject: bug 333: install stable version of lib_osm_openvim X-Git-Tag: v3.0.0~17^2~6 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=commitdiff_plain;h=5acb1e4b9948d1ac6fc9b1e42d8544fa4d08a9f1 bug 333: install stable version of lib_osm_openvim Change-Id: I2b15ef402c5dc8c9d93170088e0f7ff2d63dcb4e Signed-off-by: tierno --- diff --git a/scripts/install-openmano.sh b/scripts/install-openmano.sh index 624dce35..ac28f0d7 100755 --- a/scripts/install-openmano.sh +++ b/scripts/install-openmano.sh @@ -283,7 +283,8 @@ echo -e "\n"\ "##### INSTALLING OVIM LIBRARY #####\n"\ "#################################################################" su $SUDO_USER -c "git -C ${BASEFOLDER} clone ${GIT_OVIM_URL} openvim" -[[ -z $DEVELOP ]] && su $SUDO_USER -c "git -C ${BASEFOLDER}/openvim checkout v2.0" +LATEST_STABLE_TAG=`git -C "${BASEFOLDER}/openvim" tag -l v[0-9].* | tail -n1` +[[ -z $DEVELOP ]] && su $SUDO_USER -c "git -C ${BASEFOLDER}/openvim checkout tags/${LATEST_STABLE_TAG}" # Install debian dependencies before setup.py [ "$_DISTRO" == "Ubuntu" ] && install_packages "libmysqlclient-dev"