Given the following:
PS C:\Users\jhau\Downloads\Trainee\I\GIT\Main\TEST000.git> git tag
V2.1
V2.25
V5.0.0.0
V5.0.141.0
V5.0.600.0
V5.0.640.0
How can I write a command to obtain the latest version tag, e.g. V5.0.640.0
. I've tried this but it does not give the desired output
PS C:\Users\jhau\Downloads\Trainee\I\GIT\Main\TEST000.git> git describe --tags --abbrev=0
V5.0.0.0