Skip to content

Commit 3a24ee5

Browse files
committed
Still update dependencies when on the latest version
1 parent 9cda0cd commit 3a24ee5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ update: VENV
3535
export UPDATE_GIT_TAG="$$(git describe --tags $$(git rev-list --tags --max-count=1))"
3636
if [[ "$$CURRENT_GIT_TAG" == "$$UPDATE_GIT_TAG" ]]; then
3737
echo "Already on the latest release $$CURRENT_GIT_TAG!"
38-
exit 0
38+
else
39+
echo "Checkout out to latest release $$UPDATE_GIT_TAG"
40+
git checkout "$$UPDATE_GIT_TAG"
3941
fi
40-
echo "Checkout out to latest release $$UPDATE_GIT_TAG"
41-
git checkout "$$UPDATE_GIT_TAG"
4242
echo "Updating dependencies..."
4343
source venv/bin/activate
44-
pip install -r requirements.txt
44+
pip install -r requirements.txt >/dev/null
4545
echo "Updated to version $$UPDATE_GIT_TAG"
4646
if test -f ".env"; then
4747
if test -r ".env"; then

0 commit comments

Comments
 (0)