2020-06-22 22:36:54 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
. ./env_var.sh
|
|
|
|
|
|
|
|
|
|
./script/install_locally.sh
|
2021-05-30 22:27:16 -04:00
|
|
|
retVal=$?
|
|
|
|
|
if [[ $retVal -ne 0 ]]; then
|
|
|
|
|
echo "Error ./script/install_locally.sh"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
2020-06-22 22:36:54 -04:00
|
|
|
|
|
|
|
|
# Update git-repo
|
2020-07-12 18:24:00 -04:00
|
|
|
./script/update_manifest_local_dev.sh
|
2021-05-30 22:27:16 -04:00
|
|
|
if [[ $retVal -ne 0 ]]; then
|
|
|
|
|
echo "Error manifest update, check git-repo."
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
2021-03-20 21:07:24 -04:00
|
|
|
|
|
|
|
|
# Install maintainer-tools
|
|
|
|
|
cd script/OCA_maintainer-tools
|
2021-05-30 22:27:16 -04:00
|
|
|
# virtualenv is not installed by default
|
|
|
|
|
#virtualenv env
|
|
|
|
|
../../.venv/bin/python -m venv env
|
2021-03-20 21:07:24 -04:00
|
|
|
. env/bin/activate
|
2021-05-30 22:27:16 -04:00
|
|
|
pip install setuptools-rust
|
2021-09-27 23:56:21 -04:00
|
|
|
# Delete all tag before installing, or break installation, will generate a new one after
|
|
|
|
|
git tag | xargs git tag -d
|
2021-03-20 21:07:24 -04:00
|
|
|
python setup.py install
|
2021-07-21 17:07:50 -04:00
|
|
|
git tag ERPLibre/v1.2.0
|
2021-03-20 21:07:24 -04:00
|
|
|
#${VENV_PATH}/bin/pip install ./script/OCA_maintainer-tools/
|
2021-05-30 22:27:16 -04:00
|
|
|
cd -
|