-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Description
Our bootstrapper script for PowerShell 7 has been specifying both the version and quality and has been working until a few days ago when it started returning an error. If I modify our script to pass just the --version and leave out --quality it works. This is a breaking change and the error message seems to indicate this is a bug and not intended behavior. Note that the .ps1 doesn't have this problem.
Reproduction Steps
./dotnet-install.sh -v 7.0.100-preview.5.22307.18 -q daily -skipnonversionedfiles
Expected behavior
dotnet should install the version specified
Actual behavior
dotnet_install: Error: Either Quality or Version option has to be specified. See https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#options for details.
Regression?
Yes, starting failing this week
Known Workarounds
Remove --quality and only specify --version. The PowerShell script dotnet-install.ps1 doesn't have this problem where we continue to specify both version and quality.
Configuration
7.0.100-preview.5.22307.18
Other information
No response