Skip to content

Commit

Permalink
Merge pull request #590 from alyxdow/patch-1
Browse files Browse the repository at this point in the history
Upgrade that working on MacOS
  • Loading branch information
bmaltais authored Apr 10, 2023
2 parents 873af2a + 53590a4 commit 99503e3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions upgrade.sh
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

0 comments on commit 99503e3

Please sign in to comment.