Incorrect Hashes on releases.json (executables)
- Dominant language
- PowerShell
- Stars
- 22k
- Forks
- 4.9k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 29
Description
# Summary
For some of the releases, on `releases.json` we either host the wrong hash or host the wrong build of the product.
In the linked PR, I scanned the `.tar.gz` and `.zip`. https://github.com/dotnet/core/issues/10285
In this PR, I scanned the `.exe` and `.pkg` files.
# Providing Info
I've generated a script and ran it in CI to verify ALL of the released `.exe` and `.pkg`s from .NET 5 to .NET 10.
You can see the runs here: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1311448&view=logs&jobId=0eb3904c-e77b-56b6-f7de-f32c0293bbe5&j=67116e2d-d99b-5325-5b6f-ea5d143ea388&t=1857d447-62f8-5a69-bf7a-78b4ee43a41b
In the runs, you can also see the hashes expected and the incorrect hashes. It includes the full list of every mismatched file at the bottom per version.
# Incorrect Files List
## 5.0
```
ALL 5.0.0-preview.1 through 5.0.8 versions on Mac. `dotnet-sdk-osx-x64.pkg`
```
## 6.0
```
6.0.0-preview.3 mac pkgs
All releases of 6.0.0-preview.4 sdk (exe or pkg)
Select releases of 6.0.0-preview5 to 6.0.2 for sdk exes and pkgs
```
We could skip fixing the preview/rc releases.
## 7.0
```
https://builds.dotnet.microsoft.com/dotnet/Runtime/7.0.13/dotnet-runtime-7.0.13-osx-arm64.pkg
https://builds.dotnet.microsoft.com/dotnet/Runtime/7.0.20/dotnet-runtime-7.0.20-osx-x64.pkg
https://builds.dotnet.microsoft.com/dotnet/Runtime/7.0.20/dotnet-runtime-7.0.20-osx-arm64.pkg
```
## 8.0, 9.0 and 10.0
Have no issues 👏
cc @richlander @leecow
Contributor guide
Assessment
This issue has not been assessed yet.