mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +08:00
bbd13c04cc
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
16 lines
333 B
Bash
Executable File
16 lines
333 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# update test env
|
|
echo "Updating test env..."
|
|
(cd ./envs/test/ && poetry update --lock)
|
|
|
|
# update dev env
|
|
echo "Updating dev env..."
|
|
poetry update
|
|
|
|
# update other envs
|
|
for env in $(find ./envs/ -maxdepth 1 -mindepth 1 -type d -not -name test); do
|
|
echo "Updating $env env..."
|
|
(cd $env && poetry update)
|
|
done
|