Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions bucket/dotnet-install.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"##": [
"dotnet-install.ps1 is not versioned, version is created from metadata from a REST HEAD request.",
"* See: <https://github.com/dotnet/install-scripts/issues/580>.",
"Source is available on GitHub, but it's not signed. Thus using Microsoft official URL.",
"dotnet-install.ps1 is not in PowerShell Gallery.",
"* See: <https://github.com/dotnet/install-scripts/issues/121>.",
"Redirect from 'https://dot.net/v1/dotnet-install.ps1' to 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1' is sometimes very slow",
"* Thus using 'builds.dotnet.microsoft.com' directly instead, which is not likely to change any time soon."
],
"version": "2025.06.16.182847-11e9649f6a6b3f8f415d10fc920e9350",
"description": "Microsoft official dotnet CLI and SDK install script",
"homepage": "https://github.com/dotnet/install-scripts",
"license": "MIT",
"url": "https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1",
"hash": "c437c543c98ee5bc9cfac6c627c18871a35020d8e3623c06eec0694c92531357",
"bin": "dotnet-install.ps1",
"checkver": {
"regex": "([\\d.]+-[a-f0-9]{32})",
"script": [
"$ResponseHeaders = (Invoke-WebRequest -Method 'Head' -Uri 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1').'Headers'",
"[string]::Format(",
" '{0}-{1}',",
" [datetime]::Parse($ResponseHeaders.'Last-Modified'[0]).ToUniversalTime().ToString('yyyy\\.MM\\.dd\\.HHmmss'),",
" [BitConverter]::ToString([System.Convert]::FromBase64String($ResponseHeaders.'Content-MD5')).Replace('-','').ToLower()",
")"
]
},
"autoupdate": {
"url": "https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.ps1"
}
}
Loading