Update dependencies and install poetry-monorepo-dependency-plugin

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-26 16:22:17 -03:00
commit f60823a40a
6 changed files with 2125 additions and 70 deletions

View file

@ -21,4 +21,13 @@ if [[ "$(printf '%s\n' "$1" "$poetry_version" | sort -V | head -n1)" != "$1" ]];
echo "Poetry updated successfully."
else
echo "Poetry version is $1 or higher. No need to update."
fi
# Check if poetry-monorepo-dependency-plugin is installed
if poetry self show | grep -q "poetry-monorepo-dependency-plugin"; then
echo "poetry-monorepo-dependency-plugin is already installed."
else
echo "Installing poetry-monorepo-dependency-plugin..."
poetry run pip install poetry-monorepo-dependency-plugin
echo "poetry-monorepo-dependency-plugin installed successfully."
fi