generate.sh: symlink latest release.
This commit is contained in:
parent
db030021bf
commit
6159d8b746
14
generate.sh
14
generate.sh
@ -42,3 +42,17 @@ EOF"
|
||||
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
# link latest
|
||||
|
||||
for ODOO_VERSION in 8.0 9.0 10.0
|
||||
do
|
||||
latest="$(find ${ODOO_VERSION} -type d | grep -v base | sort -r | head -n 1 | awk -F'/' '{ print $2 }')"
|
||||
|
||||
echo "changing symlink from ${ODOO_VERSION}/${latest} to ${ODOO_VERSION}/latest..."
|
||||
rm "${ODOO_VERSION}/latest" || true
|
||||
cd ${ODOO_VERSION}
|
||||
ln -s "${latest}" latest
|
||||
cd ..
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user