May 2019
Beginner to intermediate
456 pages
10h 37m
English
# Get the latest release of the agent from the GitHub API$latestRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/Microsoft/azure-pipelines-agent/releases/latest"Value of "tag_name" : "v2.129.0"
$v = $latestRelease.name.Substring(1, $latestRelease.tag_name.Length-1)Value of $v : "2.129.0"
Read now
Unlock full access