From f7a201ab8e7e61b36dace35930baaf8f6af18b0f Mon Sep 17 00:00:00 2001 From: Djkato Date: Mon, 3 Jul 2023 22:29:39 +0200 Subject: [PATCH] change version to work with tag names instead --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index b72aa52..74812f9 100644 --- a/deploy.sh +++ b/deploy.sh @@ -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/