aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index b088eca..28564cf 100644
--- a/scripts/install
+++ b/scripts/install
@@ -104,7 +104,7 @@ CLONECOMMANDS
cd $final_path/live
sudo su - $app <<SWITCHCOMMANDS
pushd ~/live
-git checkout $(git tag | tail -n 1)
+git checkout $(git tag -l | sort -V | tail -n 1)
SWITCHCOMMANDS
# Be king rewind (/var/cache/yunohost/from_file/scripts)