Use the following links to see usage examples of the Setup GitVersion (gitversion/setup) and Execute GitVersion (gitversion/execute) tasks.
Note: You need to run the Setup step before the Execute step, otherwise the Execute step will fail with the error Unable to locate executable file: 'dotnet-gitversion'
.