We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a26e1a commit 2f6d6f8Copy full SHA for 2f6d6f8
get-tag.ps1
@@ -1,4 +1,4 @@
1
$repoName = "thosoo/VSCodiumPortable"
2
$releasesUri = "https://api.github.com/repos/$repoName/releases/latest"
3
-$tag = (Invoke-WebRequest $releasesUri | ConvertFrom-Json).tag_name
+$tag = (Invoke-RestMethod -Uri $releasesUri).tag_name
4
echo $tag
0 commit comments