Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Bicep
1.4.1
Private/LatestBicepVersion.ps1
function
LatestBicepVersion
{
$latestVersion
=
Invoke-RestMethod
-URI
"https://api.github.com/repos/Azure/Bicep/releases/latest"
$latestVersion
.
tag_name
-replace
'[v]'
,
''
}