|
|
@@ -508,7 +508,7 @@ class TypespecialVariable extends TypespecialBase {
|
|
|
$gitPath = '/Library/Server/Web/Data/Sites/SE-production-git/';
|
|
|
$versions = array();
|
|
|
if (file_exists($gitPath)) {
|
|
|
- $cmd = "cd {$gitPath} && git tag";
|
|
|
+ $cmd = "cd {$gitPath} && git tag -l| sort -r -n -t. -k1,1 -k2,2 -k3,3 -k4,4|head -10";
|
|
|
$cmdOut = null; $cmdRet = null;
|
|
|
exec($cmd, $cmdOut, $cmdRet);
|
|
|
if ($cmdRet == 0) {
|