Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Two-digit version numbers are Channels, not Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges authored Feb 22, 2023
1 parent 1452bad commit 4b7bca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime-tools/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ if type apt > /dev/null 2> /dev/null; then

for version in "${DOTNET_VERSIONS[@]}"; do
logger "running dotnet install $version"
/bin/bash ./dotnet-install.sh --version "$version" --install-dir "$DOTNET_ROOT" 2>&1 | logger -s -i -t 'onefuzz-dotnet-setup'
/bin/bash ./dotnet-install.sh --channel "$version" --install-dir "$DOTNET_ROOT" 2>&1 | logger -s -i -t 'onefuzz-dotnet-setup'
done
rm dotnet-install.sh

Expand Down
2 changes: 1 addition & 1 deletion src/runtime-tools/win64/onefuzz.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function Install-Dotnet([string]$Versions, [string]$InstallDir, [string]$ToolsDi
$Version = $_
log "Installing dotnet ${Version} to ${InstallDir}"
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
./dotnet-install.ps1 -Version $Version -InstallDir $InstallDir
./dotnet-install.ps1 -Channel $Version -InstallDir $InstallDir
Remove-Item ./dotnet-install.ps1
log "Installing dotnet ${Version}: done"
}
Expand Down

0 comments on commit 4b7bca6

Please sign in to comment.