2023-02-14 22:42:36 +00:00
|
|
|
# Check if there are any changes that need to be committed
|
|
|
|
if (git status --short) {
|
|
|
|
Write-Error "There are changes that need to be committed. Please stash or undo your changes before running this script."
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
# Pull the latest changes from the remote repository
|
2023-01-09 12:47:07 +00:00
|
|
|
git pull
|
2023-02-14 22:42:36 +00:00
|
|
|
|
|
|
|
# Activate the virtual environment
|
2023-01-09 12:47:07 +00:00
|
|
|
.\venv\Scripts\activate
|
2023-02-14 22:42:36 +00:00
|
|
|
|
|
|
|
# Upgrade the required packages
|
2023-01-09 12:47:07 +00:00
|
|
|
pip install --upgrade -r requirements.txt
|