From be49424dacb5fb18c52ce6f2e422120317522123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz> Date: Mon, 10 Feb 2020 17:46:15 +0100 Subject: [PATCH] README.adoc: change suggested sort to version sort The reason is that compared to default settings of sort version sort is going to sort correctly numbers. As an exalple: 1.1, 1.2, 1.12 should be sorted as stated here byt sorf possibly sortes it as: 1.1, 1.12, 1.2 --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 91371d588..9b38e779c 100644 --- a/README.adoc +++ b/README.adoc @@ -26,7 +26,7 @@ Turris OS fixup releases. It is advised to build the latest release version as with that you are most likely to get to the end. To get latest version you can do: -`git checkout $(git tag | sort | tail -1)`. +`git checkout "$(git tag | sort -V | tail -1)"`. Requirements ------------- -- GitLab