From ed472fe4548a7af0fc972da7bd0570de9995c216 Mon Sep 17 00:00:00 2001 From: Dmitry Misharov Date: Fri, 9 Nov 2018 20:00:06 +0100 Subject: [PATCH] Fixed build script --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 0c627be..cf25a1e 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #!/bin/bash if [[ -d .git ]]; then - VERSION=`git tag -l | tail -n1` + VERSION=`git tag --sort=committerdate -l | tail -n1` elif [[ $# -eq 0 ]]; then echo "Current directory is not a git repository." echo "Provide a version as an argument."