change version to work with tag names instead

This commit is contained in:
Djkato 2023-07-03 22:29:39 +02:00
parent 7b646227a9
commit f7a201ab8e

View file

@ -431,7 +431,7 @@ wait
# Was the -v (version) option used?
if [ "vOPT" = "true" ] || [ "$VERSION" != "" ]; then
# Checkout the specified version
sudo -u $UN git checkout $VERSION
sudo -u $UN git checkout tags/$VERSION
wait
fi
#sudo -u $UN cp $HD/django/saleor/asgi.py $HD/saleor/saleor/