-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #590 from alyxdow/patch-1
Upgrade that working on MacOS
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# Check if there are any changes that need to be committed | ||
if git status --short | grep -q "^[^ ?][^?]*"; then | ||
echo "There are changes that need to be committed. Please stash or undo your changes before running this script." | ||
exit 1 | ||
fi | ||
|
||
# Pull the latest changes from the remote repository | ||
git pull | ||
|
||
# Activate the virtual environment | ||
source venv/bin/activate | ||
|
||
# Upgrade the required packages | ||
pip install --use-pep517 --upgrade -r requirements.txt |