Last active
July 20, 2023 17:29
-
-
Save StefanRijnhart/b6c5c258d453a3a484d071d312407012 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Testing https://github.com/OCA/oca-addons-repo-template/pull/198 | |
oca-clone-everything --target-branch 16.0 | |
sed -i 's/oca\/oca-addons-repo-template/moduon\/oca-addons-repo-template/i' */.copier-answers.yml | |
sed -i "s/repo_description: null/repo_description: 'null'/" */.copier-answers.yml | |
ls * -d |while read line; do | |
if [ -e "$line/.copier-answers.yml" ]; then | |
echo "$line" | |
copier recopy -lw --trust --vcs-ref bump-pylint-odoo "$line" | |
fi | |
done | |
ls * -d |while read line; do | |
if [ -e "$line/.copier-answers.yml" ]; then | |
echo | |
echo "$line" | |
pushd "$line" | |
pre-commit run -a | |
popd | |
fi | |
done | tee /tmp/pre-commit-all16.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment