Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script for getting SHAs #90

Open
dhirschfeld opened this issue Apr 21, 2024 · 1 comment
Open

Script for getting SHAs #90

dhirschfeld opened this issue Apr 21, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@dhirschfeld
Copy link
Member

dhirschfeld commented Apr 21, 2024

sdk_version='6.0.420'
base_url='https://dotnetcli.azureedge.net/dotnet/Sdk'
platforms=(
    "linux-arm64"
    "linux-x64"
    "osx-arm64"
    "osx-x64"
)


for platform in "${platforms[@]}";
do
    url="${base_url}/${sdk_version}/dotnet-sdk-${sdk_version}-${platform}.tar.gz"
    curl -fsSL "${url}" | sha256sum
done
platform="win-x64"
url="${base_url}/${sdk_version}/dotnet-sdk-${sdk_version}-${platform}.zip"
curl -fsSL "${url}" | sha256sum
@dhirschfeld dhirschfeld added question Further information is requested documentation Improvements or additions to documentation and removed question Further information is requested labels Apr 21, 2024
@dhirschfeld dhirschfeld pinned this issue Apr 21, 2024
@acesnik
Copy link
Contributor

acesnik commented Jun 27, 2024

Here's mine, fwiw!

DOTNETSDKVERSION=8.0.302
wget https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNETSDKVERSION/dotnet-sdk-$DOTNETSDKVERSION-linux-x64.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNETSDKVERSION/dotnet-sdk-$DOTNETSDKVERSION-linux-arm64.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNETSDKVERSION/dotnet-sdk-$DOTNETSDKVERSION-osx-x64.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNETSDKVERSION/dotnet-sdk-$DOTNETSDKVERSION-osx-arm64.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$DOTNETSDKVERSION/dotnet-sdk-$DOTNETSDKVERSION-win-x64.zip; shasum -a 256 *$DOTNETSDKVERSION*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants