string latest(string url) {return executeShell("git ls-remote --tags " ~ url ~ " | cut -d 'v' -f 2 | cut -d '-' -f 1 | cut -d '^' -f 1 | uniq | tail -n 1").output.strip;
}
Is there a better way? Thanks, Andrew
Andrew Edwards via Digitalmars-d-learn Mon, 16 Oct 2017 08:16:02 -0700
string latest(string url) {return executeShell("git ls-remote --tags " ~ url ~ " | cut -d 'v' -f 2 | cut -d '-' -f 1 | cut -d '^' -f 1 | uniq | tail -n 1").output.strip;
}
Is there a better way? Thanks, Andrew