dotnet-sdk: Add an uninstall note and fix checkver (#4476)

* dotnet-sdk: Add an uninstall note

* Update bucket/dotnet-sdk.json

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>

* Update dotnet-sdk.json

* Update dotnet-sdk.json

* Update dotnet-sdk.json

---------

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
StarsbySea 2023-02-25 16:28:51 +08:00 committed by GitHub
parent 1c05afbb65
commit 79e0b98ee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,9 +25,10 @@
"DOTNET_ROOT": "$dir",
"MSBuildSDKsPath": "$dir\\sdk\\$version\\Sdks"
},
"pre_uninstall": "info 'If the uninstall fails with a message saying that access is denied, you may need to log out of your current account, log back in and try again.'",
"checkver": {
"url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json",
"regex": "(?s)(?<rtv>[\\d.]+)[^\\d]*?([\\d.]+)[^\\d]*?(?:sts|lts)"
"regex": "\"latest-runtime\": \"(?<rtv>[\\d.]+)\",[\\s\\S]+?\"latest-sdk\": \"([\\d.]+)\",[\\s\\S]+?\"release-type\" : \"(sts|lts)\""
},
"autoupdate": {
"architecture": {